tx · GQftowPiULPggQRTRiLfYpP2faLzt32AHkS1xMmpMWRG 3ND48xjRR1VgTDANVzoifhUFEbM7SE1eiuf: -0.01000000 Waves 2022.02.02 17:31 [1906095] smart account 3ND48xjRR1VgTDANVzoifhUFEbM7SE1eiuf > SELF 0.00000000 Waves
{ "type": 13, "id": "GQftowPiULPggQRTRiLfYpP2faLzt32AHkS1xMmpMWRG", "fee": 1000000, "feeAssetId": null, "timestamp": 1643812305277, "version": 2, "chainId": 84, "sender": "3ND48xjRR1VgTDANVzoifhUFEbM7SE1eiuf", "senderPublicKey": "GG1JZDb6USJQPvFSd1Hu5xETfA94kHhMXq1UZJdcYy7B", "proofs": [ "2XHdMcy4Lzn6kM7rDwnUTNgo9CagpxBdRtjdYHgGLWUBx34TtZ6EPTXvfPvoDGGSra5M1mefuF7nuPvjNSjHvLCL" ], "script": "base64:AAIFAAAAAAAAAFQIAhIOCgwICAgICAgICAgICAgSDQoLCAgICAgICAgICAgSBgoECAgICBIECgIICBIHCgUIAQEIARIECgIICBIECgIICBIGCgQICAgIEgYKBAgICAgAAABHAAAAAAh1bml0VGVzdAcAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRXlqU1dZQW9jVFBxZDU1d2RIUVFCM1BVMlVDbQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjh4WGFZakUyN0FhNzlkNWhI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AAAAEFAAAADXJldHVybk1vbmV5VG8JAQAAAA1wYXJzZUludFZhbHVlAAAAAQkAAZEAAAACBQAAAApiaWREYXRhQXJyAAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwAAAAAx55wBQ==", "height": 1906095, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
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("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq")) | |
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 = "bafybeifuyo4pqu54ismqgtb6e4h6kkvgx7zg4u3zibh2r7y6mb64i7bzza/licence.pdf" | |
33 | + | ||
34 | + | let o = "a87758c354e30a9e78fb84fa3a0010a5090ab20df0be11ad45b5720cc187e639" | |
35 | + | ||
36 | + | let p = valueOrElse(getBoolean(e, "conf_dapp_is_running"), true) | |
37 | + | ||
38 | + | let q = valueOrElse(getString(e, "conf_maintenance_msg"), "") | |
39 | + | ||
40 | + | let r = "SUSPENDED" | |
41 | + | ||
42 | + | let s = "REMOVED" | |
43 | + | ||
44 | + | let t = "UNREGISTERED" | |
45 | + | ||
46 | + | let u = "ALLOWED" | |
47 | + | ||
48 | + | func v (w) = valueOrElse(getString(this, w), "") | |
49 | + | ||
50 | + | ||
51 | + | func x (w) = valueOrErrorMessage(getInteger(b, w), "Integer undefine or 0 in oracle") | |
52 | + | ||
53 | + | ||
54 | + | func y (w) = valueOrElse(getInteger(this, w), 0) | |
55 | + | ||
56 | + | ||
57 | + | func z (w) = valueOrElse(getInteger(f, w), 0) | |
58 | + | ||
59 | + | ||
60 | + | func A (w) = valueOrElse(getBoolean(this, w), false) | |
61 | + | ||
62 | + | ||
63 | + | let B = x(("certification_fee_" + toBase58String(g))) | |
64 | + | ||
65 | + | func C (D,E,F) = { | |
66 | + | let G = getString(c, ((("data_fc_" + D) + "_") + E)) | |
67 | + | if ($isInstanceOf(G, "String")) | |
68 | + | then { | |
69 | + | let H = G | |
70 | + | if (contains(H, F)) | |
71 | + | then true | |
72 | + | else false | |
73 | + | } | |
74 | + | else false | |
75 | + | } | |
76 | + | ||
77 | + | ||
78 | + | func I (J) = if (contains(J, "/")) | |
79 | + | then if (if ((76 > size(J))) | |
80 | + | then (size(split(J, "/")[0]) == 59) | |
81 | + | else false) | |
82 | + | then (16 > size(split(J, "/")[1])) | |
83 | + | else false | |
84 | + | else false | |
85 | + | ||
86 | + | ||
87 | + | func K (L) = (size(L) == 64) | |
88 | + | ||
89 | + | ||
90 | + | func M (N) = ("user_status_" + N) | |
91 | + | ||
92 | + | ||
93 | + | func O (N,P) = ((("art_date_" + P) + "_") + N) | |
94 | + | ||
95 | + | ||
96 | + | func Q (N,P) = ((("art_name_" + P) + "_") + N) | |
97 | + | ||
98 | + | ||
99 | + | func R (N,P) = ((("art_desc_" + P) + "_") + N) | |
100 | + | ||
101 | + | ||
102 | + | func S (N,P) = ((("art_display_cid_" + P) + "_") + N) | |
103 | + | ||
104 | + | ||
105 | + | func T (N,P) = ((("art_export_hash_" + P) + "_") + N) | |
106 | + | ||
107 | + | ||
108 | + | func U (N,P) = ((("art_export_cid_" + P) + "_") + N) | |
109 | + | ||
110 | + | ||
111 | + | func V (N,P) = ((("art_maxmint_" + P) + "_") + N) | |
112 | + | ||
113 | + | ||
114 | + | func W (N,P) = ((("art_signid_" + P) + "_") + N) | |
115 | + | ||
116 | + | ||
117 | + | func X (N,P) = ((("art_issued_" + P) + "_") + N) | |
118 | + | ||
119 | + | ||
120 | + | func Y (N,P) = ((("art_onsale_" + P) + "_") + N) | |
121 | + | ||
122 | + | ||
123 | + | func Z (N,P) = ((("art_licence_hash_" + P) + "_") + N) | |
124 | + | ||
125 | + | ||
126 | + | func aa (N,P) = ((("art_licence_cid_" + P) + "_") + N) | |
127 | + | ||
128 | + | ||
129 | + | func ab (N,P) = ((("art_tags_" + P) + "_") + N) | |
130 | + | ||
131 | + | ||
132 | + | func ac (N,P) = ((("art_type_" + P) + "_") + N) | |
133 | + | ||
134 | + | ||
135 | + | func ad (N,P) = ((("art_note_" + P) + "_") + N) | |
136 | + | ||
137 | + | ||
138 | + | func ae (N,P) = ((("art_crawler_cid_" + P) + "_") + N) | |
139 | + | ||
140 | + | ||
141 | + | func af (N,P) = ((("art_price_" + P) + "_") + N) | |
142 | + | ||
143 | + | ||
144 | + | func ag (N,P) = ((("art_endsale_" + P) + "_") + N) | |
145 | + | ||
146 | + | ||
147 | + | func ah (N,P) = ((("art_assetAccepted_" + P) + "_") + N) | |
148 | + | ||
149 | + | ||
150 | + | func ai (N,P) = ((("art_flag_" + P) + "_") + N) | |
151 | + | ||
152 | + | ||
153 | + | func aj (N,ak) = ((("get_hashbytxidaddr_" + ak) + "_") + N) | |
154 | + | ||
155 | + | ||
156 | + | func al (F) = ("get_owner_by_hash_" + F) | |
157 | + | ||
158 | + | ||
159 | + | func am (N,an) = ((("get_artidbysignid_" + an) + "_") + N) | |
160 | + | ||
161 | + | ||
162 | + | func ao (F,N) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((F + N))))) | |
163 | + | ||
164 | + | ||
165 | + | func ap (aq,ar,as) = if (!(I(aq))) | |
166 | + | then throw("Wrong Display CID") | |
167 | + | else if (!(I(ar))) | |
168 | + | then throw("Wrong Export CID") | |
169 | + | else if (if ((as != "")) | |
170 | + | then !(I(as)) | |
171 | + | else false) | |
172 | + | then throw("Wrong Licence CID") | |
173 | + | else true | |
174 | + | ||
175 | + | ||
176 | + | func at (au,av) = if (!(K(au))) | |
177 | + | then throw("Export Hash 64 char. max") | |
178 | + | else if (!(K(av))) | |
179 | + | then throw("Licence Hash 64 char. max") | |
180 | + | else true | |
181 | + | ||
182 | + | ||
183 | + | func aw (ax,ay) = if ((size(ax) == 0)) | |
184 | + | then throw("Field cannot be is empty") | |
185 | + | else if ((size(ax) > ay)) | |
186 | + | then throw((ax + " is too long")) | |
187 | + | else true | |
188 | + | ||
189 | + | ||
190 | + | func az (N) = { | |
191 | + | let aA = valueOrElse(getString(e, M(N)), t) | |
192 | + | if (if ((aA == t)) | |
193 | + | then true | |
194 | + | else (aA == u)) | |
195 | + | then "Register this account first with \"Account\" tab" | |
196 | + | else if ((aA == r)) | |
197 | + | then "Account suspended" | |
198 | + | else if ((aA == s)) | |
199 | + | then "Account removed" | |
200 | + | else "" | |
201 | + | } | |
202 | + | ||
203 | + | ||
204 | + | func aB (as,av) = { | |
205 | + | let J = if ((size(as) == 0)) | |
206 | + | then n | |
207 | + | else as | |
208 | + | let L = if ((size(av) == 0)) | |
209 | + | then o | |
210 | + | else av | |
211 | + | $Tuple2(J, L) | |
212 | + | } | |
213 | + | ||
214 | + | ||
215 | + | func aC (N,aq,ar,aD,au,aE,aF,aG,aH) = { | |
216 | + | let aI = az(N) | |
217 | + | if ((aI != "")) | |
218 | + | then throw(aI) | |
219 | + | else if ((size(aq) == 0)) | |
220 | + | then throw("Display CID cannot be empty") | |
221 | + | else if (!(ap(aq, ar, aD))) | |
222 | + | then throw("Problem with CID") | |
223 | + | else if (!(at(au, aE))) | |
224 | + | then throw("Problem with Hashes") | |
225 | + | else if (!(aw(aF, 100))) | |
226 | + | then throw("100 Char. max name") | |
227 | + | else if (!(aw(aG, 1000))) | |
228 | + | then throw("1000 Char. max description") | |
229 | + | else if ((size(split(aH, ",")) > 5)) | |
230 | + | then throw("5 tags max.") | |
231 | + | else "" | |
232 | + | } | |
233 | + | ||
234 | + | ||
235 | + | func aJ (aK) = if ((size(aK.payments) == 0)) | |
236 | + | then throw("No payment attached") | |
237 | + | else { | |
238 | + | let aL = value(aK.payments[0]) | |
239 | + | let aM = value(aL.amount) | |
240 | + | $Tuple2(aL, aM) | |
241 | + | } | |
242 | + | ||
243 | + | ||
244 | + | func aN (aK) = { | |
245 | + | let aO = aJ(aK) | |
246 | + | let aL = aO._1 | |
247 | + | let aM = aO._2 | |
248 | + | let aP = if (if (isDefined(aL.assetId)) | |
249 | + | then (aL.assetId == g) | |
250 | + | else false) | |
251 | + | then aL.assetId | |
252 | + | else throw("Only SIGN token accepted as transaction fee") | |
253 | + | if ((aM != B)) | |
254 | + | then throw(("Payment amount should be " + toString(B))) | |
255 | + | else $Tuple2(aM, aP) | |
256 | + | } | |
257 | + | ||
258 | + | ||
259 | + | func aQ (aR,P) = { | |
260 | + | let G = getInteger(this, X(aR, P)) | |
261 | + | if ($isInstanceOf(G, "Int")) | |
262 | + | then { | |
263 | + | let aS = G | |
264 | + | if ((aS != 0)) | |
265 | + | then true | |
266 | + | else false | |
267 | + | } | |
268 | + | else false | |
269 | + | } | |
270 | + | ||
271 | + | ||
272 | + | func aT (aK,aU,aV) = { | |
273 | + | let aW = aJ(aK) | |
274 | + | let aL = aW._1 | |
275 | + | let aM = aW._2 | |
276 | + | let aP = if (!(isDefined(aL.assetId))) | |
277 | + | then unit | |
278 | + | else if (if ((size(aU) > 0)) | |
279 | + | then (toBase58String(value(aL.assetId)) == aU) | |
280 | + | else false) | |
281 | + | then aL.assetId | |
282 | + | else throw("Wrong asset id") | |
283 | + | if (if ((aP == unit)) | |
284 | + | then (aU != "") | |
285 | + | else false) | |
286 | + | then throw("Wrong asset id") | |
287 | + | else if ((aV != aM)) | |
288 | + | then throw("Payment don't match") | |
289 | + | else $Tuple2(aM, aP) | |
290 | + | } | |
291 | + | ||
292 | + | ||
293 | + | func aX (aP) = if (if (if (if ((aP != toBase58String(g))) | |
294 | + | then (aP != toBase58String(i)) | |
295 | + | else false) | |
296 | + | then (aP != "WAVES") | |
297 | + | else false) | |
298 | + | then (aP != toBase58String(h)) | |
299 | + | else false) | |
300 | + | then throw("Only SIGN, USDN or WAVES accepted") | |
301 | + | else true | |
302 | + | ||
303 | + | ||
304 | + | func aY (aP,aZ) = { | |
305 | + | let ba = if (a) | |
306 | + | then 10 | |
307 | + | else x("waves_min_sell") | |
308 | + | let bb = 1000000 | |
309 | + | let bc = if (a) | |
310 | + | then 1 | |
311 | + | else (B * 2) | |
312 | + | if (if (if (if (if ((aP == toBase58String(h))) | |
313 | + | then (bb > aZ) | |
314 | + | else false) | |
315 | + | then (aZ != 0) | |
316 | + | else false) | |
317 | + | then true | |
318 | + | else if (if ((aP == toBase58String(g))) | |
319 | + | then (bc > aZ) | |
320 | + | else false) | |
321 | + | then (aZ != 0) | |
322 | + | else false) | |
323 | + | then true | |
324 | + | else if (if (if ((aP == toBase58String(i))) | |
325 | + | then true | |
326 | + | else (aP == "WAVES")) | |
327 | + | then (ba > aZ) | |
328 | + | else false) | |
329 | + | then (aZ != 0) | |
330 | + | else false) | |
331 | + | then throw("Wrong minimum sell price") | |
332 | + | else true | |
333 | + | } | |
334 | + | ||
335 | + | ||
336 | + | func bd (aP) = if ((aP == "WAVES")) | |
337 | + | then unit | |
338 | + | else fromBase58String(aP) | |
339 | + | ||
340 | + | ||
341 | + | func be (bf) = { | |
342 | + | let bg = v((bf + "_OPEN")) | |
343 | + | if ((bg == "")) | |
344 | + | then throw("Bid not found") | |
345 | + | else { | |
346 | + | let bh = split(bg, "_") | |
347 | + | let bi = parseIntValue(bh[1]) | |
348 | + | let bj = bd(bh[0]) | |
349 | + | if ((0 >= bi)) | |
350 | + | then throw("Wrong amount") | |
351 | + | else $Tuple2(bi, bj) | |
352 | + | } | |
353 | + | } | |
354 | + | ||
355 | + | ||
356 | + | func bk (aK) = if (!(p)) | |
357 | + | then throw(q) | |
358 | + | else $Tuple3(toBase58String(aK.transactionId), toBase58String(aK.caller.bytes), lastBlock.timestamp) | |
359 | + | ||
360 | + | ||
361 | + | func bl (aK,P,bm,bn,bo) = { | |
362 | + | let bp = bk(aK) | |
363 | + | let bq = bp._1 | |
364 | + | let N = bp._2 | |
365 | + | let br = bp._3 | |
366 | + | let bs = if (if (if ((toBase58String(aK.caller.bytes) == bm)) | |
367 | + | then (bo != "") | |
368 | + | else false) | |
369 | + | then (bn != "") | |
370 | + | else false) | |
371 | + | then true | |
372 | + | else false | |
373 | + | let bt = y(ag(N, P)) | |
374 | + | if (if (if ((bt != 0)) | |
375 | + | then (height >= bt) | |
376 | + | else false) | |
377 | + | then !(bs) | |
378 | + | else false) | |
379 | + | then throw("Sale ended.") | |
380 | + | else { | |
381 | + | let bu = (toBase58String(aK.caller.bytes) == bm) | |
382 | + | let bv = y("total_nft_issued") | |
383 | + | let D = v(W(bm, P)) | |
384 | + | let bw = v(Q(bm, P)) | |
385 | + | if ((bw == "")) | |
386 | + | then throw("Art doesn't exist") | |
387 | + | else { | |
388 | + | let bx = A(Y(bm, P)) | |
389 | + | let by = y(X(bm, P)) | |
390 | + | let aV = if (bu) | |
391 | + | then (B * 2) | |
392 | + | else y(af(bm, P)) | |
393 | + | let aU = if (bu) | |
394 | + | then toBase58String(g) | |
395 | + | else v(ah(bm, P)) | |
396 | + | let bz = y(V(bm, P)) | |
397 | + | if (if (if (!(bs)) | |
398 | + | then !(bu) | |
399 | + | else false) | |
400 | + | then if (if ((0 >= aV)) | |
401 | + | then true | |
402 | + | else !(bx)) | |
403 | + | then true | |
404 | + | else (0 >= bz) | |
405 | + | else false) | |
406 | + | then throw("Art not for sale") | |
407 | + | else if (if (if (!(bs)) | |
408 | + | then bu | |
409 | + | else false) | |
410 | + | then (0 >= bz) | |
411 | + | else false) | |
412 | + | then throw("Max issuable not set") | |
413 | + | else { | |
414 | + | let aI = az(bm) | |
415 | + | if (if (bs) | |
416 | + | then (aI != "") | |
417 | + | else false) | |
418 | + | then throw(aI) | |
419 | + | else { | |
420 | + | let bf = ((((((("bid_" + P) + "_") + bm) + "_") + bo) + "_") + bn) | |
421 | + | let bA = if (bs) | |
422 | + | then be(bf) | |
423 | + | else aT(aK, aU, aV) | |
424 | + | let aM = bA._1 | |
425 | + | let aP = bA._2 | |
426 | + | let bB = z(bm) | |
427 | + | let bC = if ((bB > height)) | |
428 | + | then 0 | |
429 | + | else if ((aP == g)) | |
430 | + | then l | |
431 | + | else m | |
432 | + | let bD = fraction(aM, bC, 100) | |
433 | + | let bE = (aM - bD) | |
434 | + | if ((by == bz)) | |
435 | + | then throw("Art sold out") | |
436 | + | else { | |
437 | + | let bF = (by + 1) | |
438 | + | let bG = ((((((((((("Creator: " + bm) + ", | |
439 | + | ArtID: ") + P) + ", | |
440 | + | SignID: ") + D) + ", | |
441 | + | Artwork name: ") + bw) + ", | |
442 | + | Issue: ") + toString(bF)) + "/") + toString(bz)) | |
443 | + | let bH = Issue(("SA_" + toString((bv + 1))), bG, 1, 0, false) | |
444 | + | let bI = calculateAssetId(bH) | |
445 | + | let bJ = if (if ((bF == bz)) | |
446 | + | then true | |
447 | + | else !(bx)) | |
448 | + | then false | |
449 | + | else true | |
450 | + | let bK = if (if (if ((N == bm)) | |
451 | + | then (bo != "") | |
452 | + | else false) | |
453 | + | then (bn != "") | |
454 | + | else false) | |
455 | + | then addressFromStringValue(bo) | |
456 | + | else aK.caller | |
457 | + | let bL = if (!(isDefined(aP))) | |
458 | + | then "WAVES" | |
459 | + | else toBase58String(value(aP)) | |
460 | + | let bg = v((bf + "_OPEN")) | |
461 | + | let bM = DeleteEntry((bf + "_OPEN")) | |
462 | + | let bN = StringEntry((bf + "_CLOSED"), ((bg + "_") + toString(br))) | |
463 | + | let bO = ((((((("art_sold_" + toString(bF)) + "_of_") + toString(bz)) + "_") + P) + "_") + bm) | |
464 | + | let bP = if (!(bs)) | |
465 | + | then ((((((((((N + "_") + toString(br)) + "_") + bq) + "_") + toString(aV)) + "_") + aU) + "_") + toBase58String(bI)) | |
466 | + | else ((((((((((toString(bK) + "_") + toString(br)) + "_") + bq) + "_") + toString(aM)) + "_") + bL) + "_") + toBase58String(bI)) | |
467 | + | let bQ = StringEntry(bO, bP) | |
468 | + | let bR = [IntegerEntry(X(bm, P), bF), StringEntry(("nft_" + toBase58String(bI)), bO), IntegerEntry("total_nft_issued", (bv + 1)), IntegerEntry(ag(bm, P), 0), BooleanEntry(Y(bm, P), bJ), bH, ScriptTransfer(Address(fromBase58String(bm)), bE, aP), ScriptTransfer(Address(fromBase58String(d)), bD, aP), ScriptTransfer(bK, 1, bI)] | |
469 | + | if (bs) | |
470 | + | then [bQ, bN, bM] :: bR | |
471 | + | else bQ :: bR | |
472 | + | } | |
473 | + | } | |
474 | + | } | |
475 | + | } | |
476 | + | } | |
477 | + | } | |
478 | + | ||
479 | + | ||
480 | + | @Callable(aK) | |
481 | + | func addArtwork (F,D,aF,aG,aH,bS,aq,au,ar,av,as,bT) = { | |
482 | + | let bU = bk(aK) | |
483 | + | let P = bU._1 | |
484 | + | let N = bU._2 | |
485 | + | let br = bU._3 | |
486 | + | if (!(K(F))) | |
487 | + | then throw("Hash should be 64 characters maximum") | |
488 | + | else { | |
489 | + | let bV = aB(as, av) | |
490 | + | let aD = bV._1 | |
491 | + | let aE = bV._2 | |
492 | + | let bW = aC(N, aq, ar, aD, au, aE, aF, aG, aH) | |
493 | + | if ((bW != "")) | |
494 | + | then throw("Something went wrong!") | |
495 | + | else { | |
496 | + | let bX = aN(aK) | |
497 | + | let aM = bX._1 | |
498 | + | let aP = bX._2 | |
499 | + | if (!(isDefined(aM))) | |
500 | + | then throw("Something went wrong") | |
501 | + | else { | |
502 | + | let bY = v(ao(F, N)) | |
503 | + | if ((bY != "")) | |
504 | + | then throw("You already added it") | |
505 | + | else { | |
506 | + | let bZ = v(al(F)) | |
507 | + | if ((bZ != "")) | |
508 | + | then throw("Hash already registered") | |
509 | + | else { | |
510 | + | let ca = C(D, N, F) | |
511 | + | if (!(ca)) | |
512 | + | then throw("Sign Certificate not found for this address.") | |
513 | + | else [StringEntry(al(F), N), StringEntry(ao(F, N), P), IntegerEntry(O(N, P), br), StringEntry(Q(N, P), aF), StringEntry(R(N, P), aG), StringEntry(S(N, P), aq), StringEntry(U(N, P), ar), StringEntry(T(N, P), au), StringEntry(Z(N, P), aE), StringEntry(aa(N, P), aD), StringEntry(ac(N, P), bS), StringEntry(ab(N, P), aH), IntegerEntry(V(N, P), 0), StringEntry(W(N, P), D), IntegerEntry(X(N, P), 0), BooleanEntry(Y(N, P), false), StringEntry(am(N, D), P), StringEntry(aj(N, P), F), StringEntry(ae(N, P), bT), ScriptTransfer(Address(fromBase58String(d)), aM, aP)] | |
514 | + | } | |
515 | + | } | |
516 | + | } | |
517 | + | } | |
518 | + | } | |
519 | + | } | |
520 | + | ||
521 | + | ||
522 | + | ||
523 | + | @Callable(aK) | |
524 | + | func updateArtwork (ak,aF,aG,aH,bS,aq,au,ar,av,as,bT) = if (!(p)) | |
525 | + | then throw(q) | |
526 | + | else { | |
527 | + | let N = toBase58String(aK.caller.bytes) | |
528 | + | let cb = aB(as, av) | |
529 | + | let aD = cb._1 | |
530 | + | let aE = cb._2 | |
531 | + | let bW = aC(N, aq, ar, aD, au, aE, aF, aG, aH) | |
532 | + | if ((bW != "")) | |
533 | + | then throw("Something went wrong!") | |
534 | + | else { | |
535 | + | let bY = v(Q(N, ak)) | |
536 | + | if ((bY == "")) | |
537 | + | then throw("Entry not found") | |
538 | + | else { | |
539 | + | let cc = v(ai(N, ak)) | |
540 | + | if ((cc == "ILLEGAL")) | |
541 | + | then throw("Cannot update ILLEGAL artwork") | |
542 | + | else if (!(aQ(N, ak))) | |
543 | + | then [StringEntry(Q(N, ak), aF), StringEntry(R(N, ak), aG), StringEntry(S(N, ak), aq), StringEntry(U(N, ak), ar), StringEntry(T(N, ak), au), StringEntry(aa(N, ak), aD), StringEntry(Z(N, ak), aE), StringEntry(ab(N, ak), aH), StringEntry(ac(N, ak), bS), StringEntry(ae(N, ak), bT)] | |
544 | + | else throw("Already minted") | |
545 | + | } | |
546 | + | } | |
547 | + | } | |
548 | + | ||
549 | + | ||
550 | + | ||
551 | + | @Callable(aK) | |
552 | + | func flagArtwork (P,cd,cc,ce) = { | |
553 | + | let cf = bk(aK) | |
554 | + | let bq = cf._1 | |
555 | + | let N = cf._2 | |
556 | + | if (containsElement([j, toString(this)], N)) | |
557 | + | then if (containsElement(["CONSENT", "", "CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], cc)) | |
558 | + | then [StringEntry(ai(cd, P), cc), StringEntry(ad(cd, P), ce)] | |
559 | + | else throw(("Unknow status " + cc)) | |
560 | + | else throw("You are not allowed") | |
561 | + | } | |
562 | + | ||
563 | + | ||
564 | + | ||
565 | + | @Callable(aK) | |
566 | + | func deleteArtwork (P,cd) = { | |
567 | + | let cg = bk(aK) | |
568 | + | let bq = cg._1 | |
569 | + | let N = cg._2 | |
570 | + | let aR = if (containsElement([j, k, toString(this)], N)) | |
571 | + | then cd | |
572 | + | else N | |
573 | + | let bY = valueOrErrorMessage(v(Q(aR, P)), "No art matching for this address") | |
574 | + | if ((bY == "")) | |
575 | + | then throw("No art matching for this address") | |
576 | + | else { | |
577 | + | let F = v(aj(aR, P)) | |
578 | + | if ((F == "")) | |
579 | + | then throw("No art hash matching for this address") | |
580 | + | else { | |
581 | + | let D = v(W(aR, P)) | |
582 | + | if ((D == "")) | |
583 | + | then throw("No SIGN ID matching") | |
584 | + | else { | |
585 | + | let ch = [DeleteEntry(O(aR, P)), DeleteEntry(Q(aR, P)), DeleteEntry(R(aR, P)), DeleteEntry(S(aR, P)), DeleteEntry(U(aR, P)), DeleteEntry(T(aR, P)), DeleteEntry(Z(aR, P)), DeleteEntry(aa(aR, P)), DeleteEntry(ac(aR, P)), DeleteEntry(ab(aR, P)), DeleteEntry(V(aR, P)), DeleteEntry(W(aR, P)), DeleteEntry(X(aR, P)), DeleteEntry(Y(aR, P)), DeleteEntry(ai(aR, P)), DeleteEntry(af(aR, P)), DeleteEntry(ah(aR, P)), DeleteEntry(al(F)), DeleteEntry(am(aR, D)), DeleteEntry(ao(F, aR)), DeleteEntry(ag(aR, P)), DeleteEntry(ad(aR, P)), DeleteEntry(ae(aR, P))] | |
586 | + | if (!(aQ(aR, P))) | |
587 | + | then if (!(p)) | |
588 | + | then throw(q) | |
589 | + | else ch | |
590 | + | else if (containsElement([j, toString(this)], N)) | |
591 | + | then ch | |
592 | + | else throw("Art already minted, you cannot delete it") | |
593 | + | } | |
594 | + | } | |
595 | + | } | |
596 | + | } | |
597 | + | ||
598 | + | ||
599 | + | ||
600 | + | @Callable(aK) | |
601 | + | func sellArtwork (P,aZ,ci,aP,bt) = { | |
602 | + | let cj = bk(aK) | |
603 | + | let bq = cj._1 | |
604 | + | let N = cj._2 | |
605 | + | let bw = v(Q(N, P)) | |
606 | + | if ((bw == "")) | |
607 | + | then throw("This art doesn't match your account") | |
608 | + | else { | |
609 | + | let cc = v(ai(N, P)) | |
610 | + | if (containsElement(["CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], cc)) | |
611 | + | then throw("Flagged artwork") | |
612 | + | else { | |
613 | + | let ck = y(("current_bidamount_" + P)) | |
614 | + | if ((0 > bt)) | |
615 | + | then throw("Negative end") | |
616 | + | else if (if ((bt > 0)) | |
617 | + | then if ((ci != 1)) | |
618 | + | then true | |
619 | + | else (aZ != 0) | |
620 | + | else false) | |
621 | + | then throw("Timed offer only allowed for unique edition and offer only") | |
622 | + | else { | |
623 | + | let cl = if ((bt == 0)) | |
624 | + | then 0 | |
625 | + | else height | |
626 | + | if (!(aX(aP))) | |
627 | + | then throw("Something went wrong!") | |
628 | + | else if (!(aY(aP, aZ))) | |
629 | + | then throw("Something went wrong!") | |
630 | + | else { | |
631 | + | let aI = az(N) | |
632 | + | if ((aI != "")) | |
633 | + | then throw(aI) | |
634 | + | else { | |
635 | + | let by = y(X(N, P)) | |
636 | + | let bz = y(V(N, P)) | |
637 | + | if ((ci > 100)) | |
638 | + | then throw("100 editions max per artwork") | |
639 | + | else if (if ((by != 0)) | |
640 | + | then (by == bz) | |
641 | + | else false) | |
642 | + | then throw("Max edition reached.") | |
643 | + | else if (if ((by > 0)) | |
644 | + | then (bz != ci) | |
645 | + | else false) | |
646 | + | then throw("Cannot change maximum issuable anymore") | |
647 | + | else if (if ((ck > 0)) | |
648 | + | then (bz != ci) | |
649 | + | else false) | |
650 | + | then throw("Cannot change maximum issuable with active orders") | |
651 | + | else { | |
652 | + | let bJ = if (if ((aZ > 0)) | |
653 | + | then (ci > 0) | |
654 | + | else false) | |
655 | + | then true | |
656 | + | else false | |
657 | + | [BooleanEntry(Y(N, P), bJ), IntegerEntry(af(N, P), aZ), IntegerEntry(V(N, P), ci), StringEntry(ah(N, P), aP), IntegerEntry(ag(N, P), (cl + bt))] | |
658 | + | } | |
659 | + | } | |
660 | + | } | |
661 | + | } | |
662 | + | } | |
663 | + | } | |
664 | + | } | |
665 | + | ||
666 | + | ||
667 | + | ||
668 | + | @Callable(aK) | |
669 | + | func buyArtwork (P,bm) = bl(aK, P, bm, "", "") | |
670 | + | ||
671 | + | ||
672 | + | ||
673 | + | @Callable(aK) | |
674 | + | func setBid (P,bm) = { | |
675 | + | let cm = bk(aK) | |
676 | + | let bq = cm._1 | |
677 | + | let N = cm._2 | |
678 | + | let br = cm._3 | |
679 | + | let cn = aJ(aK) | |
680 | + | let aL = cn._1 | |
681 | + | let aM = cn._2 | |
682 | + | let aP = if (!(isDefined(aL.assetId))) | |
683 | + | then "WAVES" | |
684 | + | else toBase58String(value(aL.assetId)) | |
685 | + | let bt = y(ag(bm, P)) | |
686 | + | if (if ((bt != 0)) | |
687 | + | then (height >= bt) | |
688 | + | else false) | |
689 | + | then throw("Sale ended.") | |
690 | + | else { | |
691 | + | let ck = y(("current_bidamount_" + P)) | |
692 | + | if (!(aX(aP))) | |
693 | + | then throw("asset not accepted") | |
694 | + | else if (!(aY(aP, aM))) | |
695 | + | then throw("Wrong min sell") | |
696 | + | else { | |
697 | + | let by = y(X(bm, P)) | |
698 | + | let bz = y(V(bm, P)) | |
699 | + | if ((0 >= bz)) | |
700 | + | then throw("No max edition set for this artwork") | |
701 | + | else if ((by >= bz)) | |
702 | + | then throw("Sold out, you cannot bid") | |
703 | + | else [StringEntry((((((((("bid_" + P) + "_") + bm) + "_") + N) + "_") + bq) + "_OPEN"), ((((aP + "_") + toString(aM)) + "_") + toString(br))), IntegerEntry(("current_bidamount_" + P), (ck + 1))] | |
704 | + | } | |
705 | + | } | |
706 | + | } | |
707 | + | ||
708 | + | ||
709 | + | ||
710 | + | @Callable(aK) | |
711 | + | func acceptBid (P,bm,bn,bo) = { | |
712 | + | let N = toBase58String(aK.caller.bytes) | |
713 | + | if ((N != bm)) | |
714 | + | then throw("You cannot do this action") | |
715 | + | else bl(aK, P, bm, bn, bo) | |
716 | + | } | |
717 | + | ||
718 | + | ||
719 | + | ||
720 | + | @Callable(aK) | |
721 | + | func cancelBid (P,bm,bn,bo) = { | |
722 | + | let co = bk(aK) | |
723 | + | let bq = co._1 | |
724 | + | let N = co._2 | |
725 | + | let br = co._3 | |
726 | + | if (if ((N != bo)) | |
727 | + | then (N != bm) | |
728 | + | else false) | |
729 | + | then throw("You cannot do this action") | |
730 | + | else { | |
731 | + | let cp = if ((N == bm)) | |
732 | + | then bo | |
733 | + | else N | |
734 | + | let ck = y(("current_bidamount_" + P)) | |
735 | + | let bf = ((((((("bid_" + P) + "_") + bm) + "_") + bo) + "_") + bn) | |
736 | + | let bg = v((bf + "_OPEN")) | |
737 | + | if ((bg == "")) | |
738 | + | then throw("Bid not found") | |
739 | + | else { | |
740 | + | let bh = split(bg, "_") | |
741 | + | let aP = bd(bh[0]) | |
742 | + | let cq = "CANCELED" | |
743 | + | [DeleteEntry((bf + "_OPEN")), StringEntry(((bf + "_") + cq), ((bg + "_") + toString(br))), IntegerEntry(("current_bidamount_" + P), (ck - 1)), ScriptTransfer(Address(fromBase58String(cp)), parseIntValue(bh[1]), aP)] | |
744 | + | } | |
745 | + | } | |
746 | + | } | |
747 | + | ||
748 | + |
github/deemru/w8io/026f985 42.25 ms ◑