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