tx · AuyQs73TXBM3C9MuCeSXxS5T8pQdnwq6QJFXvh3UuK6D 3N6VmiwyYvN3mje3HrLWZJwpGpXerqPwiY1: -0.01400000 Waves 2020.09.29 17:32 [1198731] smart account 3N6VmiwyYvN3mje3HrLWZJwpGpXerqPwiY1 > SELF 0.00000000 Waves
{ "type": 13, "id": "AuyQs73TXBM3C9MuCeSXxS5T8pQdnwq6QJFXvh3UuK6D", "fee": 1400000, "feeAssetId": null, "timestamp": 1601389963433, "version": 2, "chainId": 84, "sender": "3N6VmiwyYvN3mje3HrLWZJwpGpXerqPwiY1", "senderPublicKey": "6d67Hi89AYURSDxe1L8huJrSeU9FSdfUJMXWvwZb8goX", "proofs": [ "3k7iqXHXrdHQeLbnn3Ehw6vGx8AYTtyYRn5u2CgnyJWTx2ozexL4kNaZkHTz7xm9FjaCkhpqAeZfUbkn6yEsKuRz" ], "script": "base64:AAIEAAAAAAAAAE4IAhIGCgQICAgIEgYKBAgICAgSBAoCCAgSAwoBCBIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBAoCCAgSBAoCCAESBAoCCAgAAAAvAAAAAA9zdG9yYWdlVmVyaWZpZXIJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAADHNpZ25WZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAtzaWduQXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresAAAAABnVzZG5JRAIAAAAsM0tGWEJHR0xDakE1WjJEdVc0RHE5ZkREckhqSkpQMVpFa2FvYWpTenVLc0MAAAAABWFkbWluAgAAACMzTXNHN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LAAAAAICAAAAC2FydF9vbnNhbGVfBQAAAAdlbnRyeUlEAgAAAAFfBQAAAA1jYWxsZXJBZGRyZXNzBQAAAApzZWxsU3RhdHVzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAAZpc3N1ZXIFAAAABmFtb3VudAUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAAGaW52b2tlAAAABmNhbGxlcgAAAAAAAAAAAQUAAAAFaWRORlQFAAAAA25pbAAAAACHHc/O", "height": 1198731, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 3jBXFmDwYWCQ9JC87JVGGJWGMmzw4vVbKiz7jimpG3gq Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
5 | + | ||
6 | + | let b = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
7 | + | ||
8 | + | let c = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
9 | + | ||
10 | + | let d = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
11 | + | ||
12 | + | let e = "3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC" | |
13 | + | ||
14 | + | let f = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
15 | + | ||
16 | + | let g = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN" | |
17 | + | ||
18 | + | let h = true | |
19 | + | ||
20 | + | let i = "ALLOWED" | |
21 | + | ||
22 | + | let j = "REGISTERED" | |
23 | + | ||
24 | + | let k = "VERIFIED" | |
25 | + | ||
26 | + | let l = "SUSPENDED" | |
27 | + | ||
28 | + | let m = "REMOVED" | |
29 | + | ||
30 | + | let n = "UNREGISTERED" | |
31 | + | ||
32 | + | let o = "ON_SALE" | |
33 | + | ||
34 | + | let p = "SOLD" | |
35 | + | ||
36 | + | let q = "CANCELED" | |
37 | + | ||
38 | + | func r (s) = { | |
39 | + | let t = getString(this, s) | |
40 | + | if ($isInstanceOf(t, "String")) | |
41 | + | then { | |
42 | + | let u = t | |
43 | + | u | |
44 | + | } | |
45 | + | else "" | |
46 | + | } | |
47 | + | ||
48 | + | ||
49 | + | func v (s) = { | |
50 | + | let t = getInteger(this, s) | |
51 | + | if ($isInstanceOf(t, "Int")) | |
52 | + | then { | |
53 | + | let w = t | |
54 | + | w | |
55 | + | } | |
56 | + | else 0 | |
57 | + | } | |
58 | + | ||
59 | + | ||
60 | + | func x (y,z,A) = { | |
61 | + | let t = getString(b, ((("data_fc_" + y) + "_") + z)) | |
62 | + | if ($isInstanceOf(t, "String")) | |
63 | + | then { | |
64 | + | let u = t | |
65 | + | if (contains(u, A)) | |
66 | + | then true | |
67 | + | else false | |
68 | + | } | |
69 | + | else false | |
70 | + | } | |
71 | + | ||
72 | + | ||
73 | + | func B (C,D) = { | |
74 | + | let E = value(assetInfo(fromBase58String(D))) | |
75 | + | if (if (if ((E.quantity != 1)) | |
76 | + | then true | |
77 | + | else (E.decimals != 0)) | |
78 | + | then true | |
79 | + | else (E.reissuable != false)) | |
80 | + | then (C + 0) | |
81 | + | else (C + 1) | |
82 | + | } | |
83 | + | ||
84 | + | ||
85 | + | func F (G) = { | |
86 | + | let t = getString(this, ("user_status_" + G)) | |
87 | + | if ($isInstanceOf(t, "String")) | |
88 | + | then { | |
89 | + | let H = t | |
90 | + | H | |
91 | + | } | |
92 | + | else throw("Something went wrong.") | |
93 | + | } | |
94 | + | ||
95 | + | ||
96 | + | func I (J) = ("user_" + J) | |
97 | + | ||
98 | + | ||
99 | + | func K (J) = ("user_name_" + J) | |
100 | + | ||
101 | + | ||
102 | + | func L (J) = ("user_desc_" + J) | |
103 | + | ||
104 | + | ||
105 | + | func M (J) = ("user_social_" + J) | |
106 | + | ||
107 | + | ||
108 | + | func N (J) = ("user_thumb_" + J) | |
109 | + | ||
110 | + | ||
111 | + | func O (J) = ("user_status_" + J) | |
112 | + | ||
113 | + | ||
114 | + | func P (J) = ("user_date_" + J) | |
115 | + | ||
116 | + | ||
117 | + | func Q (J,R) = ((("art_date_" + R) + "_") + J) | |
118 | + | ||
119 | + | ||
120 | + | func S (J,R) = ((("art_name_" + R) + "_") + J) | |
121 | + | ||
122 | + | ||
123 | + | func T (J,R) = ((("art_desc_" + R) + "_") + J) | |
124 | + | ||
125 | + | ||
126 | + | func U (J,R) = ((("art_display_cid_" + R) + "_") + J) | |
127 | + | ||
128 | + | ||
129 | + | func V (J,R) = ((("art_export_hash_" + R) + "_") + J) | |
130 | + | ||
131 | + | ||
132 | + | func W (J,R) = ((("art_export_cid_" + R) + "_") + J) | |
133 | + | ||
134 | + | ||
135 | + | func X (J,R) = ((("art_maxmint_" + R) + "_") + J) | |
136 | + | ||
137 | + | ||
138 | + | func Y (J,R) = ((("art_signid_" + R) + "_") + J) | |
139 | + | ||
140 | + | ||
141 | + | func Z (J,R) = ((("art_issued_" + R) + "_") + J) | |
142 | + | ||
143 | + | ||
144 | + | func aa (J,R) = ((("art_onsale_" + R) + "_") + J) | |
145 | + | ||
146 | + | ||
147 | + | func ab (J,R) = ((("art_licence_hash_" + R) + "_") + J) | |
148 | + | ||
149 | + | ||
150 | + | func ac (J,R) = ((("art_licence_cid_" + R) + "_") + J) | |
151 | + | ||
152 | + | ||
153 | + | func ad (J,R) = ((("art_tags_" + R) + "_") + J) | |
154 | + | ||
155 | + | ||
156 | + | func ae (J,R) = ((("art_type_" + R) + "_") + J) | |
157 | + | ||
158 | + | ||
159 | + | func af (J,ag) = ((("get_hashbytxidaddr_" + ag) + "_") + J) | |
160 | + | ||
161 | + | ||
162 | + | func ah (A) = ("get_owner_by_hash_" + A) | |
163 | + | ||
164 | + | ||
165 | + | func ai (J,aj) = ((("get_artidbysignid_" + aj) + "_") + J) | |
166 | + | ||
167 | + | ||
168 | + | func ak (A,J) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((A + J))))) | |
169 | + | ||
170 | + | ||
171 | + | @Callable(w) | |
172 | + | func registerUser (al,am,an,ao) = { | |
173 | + | let J = toString(addressFromPublicKey(w.callerPublicKey)) | |
174 | + | let ap = r(O(J)) | |
175 | + | let D = toBase58String(w.transactionId) | |
176 | + | let aq = lastBlock.timestamp | |
177 | + | if (if ((ap == l)) | |
178 | + | then true | |
179 | + | else (ap == m)) | |
180 | + | then throw("You are now allowed to register, your account have been suspended/ removed.") | |
181 | + | else if ((ap == j)) | |
182 | + | then throw("You are already registered, please use update method instead.") | |
183 | + | else if (if ((ap == "")) | |
184 | + | then h | |
185 | + | else false) | |
186 | + | then throw("You are now allowed to register yet, please contact us first to get approved.") | |
187 | + | else if (if ((al == "")) | |
188 | + | then true | |
189 | + | else (am == "")) | |
190 | + | then throw("Name and description cannot be empty") | |
191 | + | else if ((size(am) > 600)) | |
192 | + | then throw("600 Characters maximum for the description") | |
193 | + | else [IntegerEntry(P(J), aq), StringEntry(I(J), ((D + "_") + toString(lastBlock.timestamp))), StringEntry(K(J), al), StringEntry(L(J), am), StringEntry(M(J), ao), StringEntry(N(J), an), StringEntry(O(J), j), StringEntry("last_invoke_id", D)] | |
194 | + | } | |
195 | + | ||
196 | + | ||
197 | + | ||
198 | + | @Callable(w) | |
199 | + | func updateUser (al,am,an,ao) = { | |
200 | + | let J = toString(addressFromPublicKey(w.callerPublicKey)) | |
201 | + | let ap = r(O(J)) | |
202 | + | if (if ((ap == l)) | |
203 | + | then true | |
204 | + | else (ap == m)) | |
205 | + | then throw("You are now allowed to register, your account have been suspended/ removed.") | |
206 | + | else if (if ((ap == "")) | |
207 | + | then true | |
208 | + | else (ap == i)) | |
209 | + | then throw("Please register first with registerUser") | |
210 | + | else { | |
211 | + | let D = toBase58String(w.transactionId) | |
212 | + | let aq = lastBlock.timestamp | |
213 | + | if (if ((al == "")) | |
214 | + | then true | |
215 | + | else (am == "")) | |
216 | + | then throw("Name and description cannot be empty") | |
217 | + | else if ((size(am) > 600)) | |
218 | + | then throw("600 Characters maximum for the description") | |
219 | + | else [StringEntry(K(J), al), StringEntry(L(J), am), StringEntry(M(J), ao), StringEntry(N(J), an), StringEntry("last_invoke_id", D)] | |
220 | + | } | |
221 | + | } | |
222 | + | ||
223 | + | ||
224 | + | ||
225 | + | @Callable(w) | |
226 | + | func changeUserStatus (ar,as) = { | |
227 | + | let J = toString(addressFromPublicKey(w.callerPublicKey)) | |
228 | + | let D = toBase58String(w.transactionId) | |
229 | + | let at = if ((as == k)) | |
230 | + | then k | |
231 | + | else if ((as == j)) | |
232 | + | then j | |
233 | + | else if ((as == l)) | |
234 | + | then l | |
235 | + | else if ((as == m)) | |
236 | + | then m | |
237 | + | else if ((as == i)) | |
238 | + | then i | |
239 | + | else throw("Unknown status") | |
240 | + | if (if ((J == f)) | |
241 | + | then true | |
242 | + | else (J == g)) | |
243 | + | then [StringEntry(O(ar), at), StringEntry("last_invoke_id", D)] | |
244 | + | else throw(((("You are not allowed to change user status " + J) + " / ") + f)) | |
245 | + | } | |
246 | + | ||
247 | + | ||
248 | + | ||
249 | + | @Callable(w) | |
250 | + | func deleteUser (ar) = { | |
251 | + | let J = toString(addressFromPublicKey(w.callerPublicKey)) | |
252 | + | let D = toBase58String(w.transactionId) | |
253 | + | if (if ((J == f)) | |
254 | + | then true | |
255 | + | else (J == g)) | |
256 | + | then [DeleteEntry(P(ar)), DeleteEntry(I(ar)), DeleteEntry(K(ar)), DeleteEntry(L(ar)), DeleteEntry(M(ar)), DeleteEntry(N(ar)), StringEntry(O(ar), m), StringEntry("last_invoke_id", D)] | |
257 | + | else throw("You are not allowed to do that") | |
258 | + | } | |
259 | + | ||
260 | + | ||
261 | + | ||
262 | + | @Callable(au) | |
263 | + | func addArtwork (A,y,al,am,av,aw,ax,ay,az,aA,aB,aC) = { | |
264 | + | let R = toBase58String(au.transactionId) | |
265 | + | let aD = toBase58String(au.caller.bytes) | |
266 | + | if ((size(au.payments) == 0)) | |
267 | + | then throw("No payment attached") | |
268 | + | else { | |
269 | + | let aE = value(au.payments[0]) | |
270 | + | let aF = value(aE.amount) | |
271 | + | let aG = if (if (isDefined(aE.assetId)) | |
272 | + | then (aE.assetId == d) | |
273 | + | else false) | |
274 | + | then aE.assetId | |
275 | + | else throw("Only SIGN token accepted at the moment") | |
276 | + | let aH = { | |
277 | + | let t = getInteger(a, ("certification_fee_" + toBase58String(d))) | |
278 | + | if ($isInstanceOf(t, "Int")) | |
279 | + | then { | |
280 | + | let aI = t | |
281 | + | aI | |
282 | + | } | |
283 | + | else throw("Price undefined in oracle") | |
284 | + | } | |
285 | + | if ((aF != aH)) | |
286 | + | then throw(("Payment amount should be " + toString(aH))) | |
287 | + | else { | |
288 | + | let aJ = r(ak(A, aD)) | |
289 | + | if ((aJ != "")) | |
290 | + | then throw("You already added this artwork on Sign Art") | |
291 | + | else { | |
292 | + | let aK = r(ah(A)) | |
293 | + | if ((aK != "")) | |
294 | + | then throw("This artwork hash is already registered on Sign Art") | |
295 | + | else { | |
296 | + | let aL = x(y, aD, A) | |
297 | + | if (!(aL)) | |
298 | + | then throw("Sign Certificate not found on Sign-web.app smart contract for this address.") | |
299 | + | else if ((size(ay) == 0)) | |
300 | + | then throw("Display CID cannot be empty") | |
301 | + | else if ((size(al) == 0)) | |
302 | + | then throw("Title cannot be empty") | |
303 | + | else if ((size(al) > 100)) | |
304 | + | then throw("100 Characters maximum for the name") | |
305 | + | else if ((size(am) > 1000)) | |
306 | + | then throw("1000 Characters maximum for the description") | |
307 | + | else if ((size(am) == 0)) | |
308 | + | then throw("Description cannot be empty") | |
309 | + | else { | |
310 | + | let aM = split(av, ",") | |
311 | + | if ((size(aM) > 5)) | |
312 | + | then throw("Tags should be maximum 5 single word separated by space.") | |
313 | + | else { | |
314 | + | let aN = { | |
315 | + | let t = getString(this, ("user_status_" + aD)) | |
316 | + | if ($isInstanceOf(t, "String")) | |
317 | + | then { | |
318 | + | let aO = t | |
319 | + | aO | |
320 | + | } | |
321 | + | else n | |
322 | + | } | |
323 | + | let aq = lastBlock.timestamp | |
324 | + | if (if (isDefined(aN)) | |
325 | + | then (aN == n) | |
326 | + | else false) | |
327 | + | then throw("Please register this account first with \"User infos\" tab") | |
328 | + | else if ((aN == l)) | |
329 | + | then throw("Your account is suspended") | |
330 | + | else if ((aN == m)) | |
331 | + | then throw("Your account have been removed") | |
332 | + | else if ((ax > 10)) | |
333 | + | then throw("Maximum 10 editions per artwork") | |
334 | + | else if ((size(A) != 64)) | |
335 | + | then throw("Hash should be sha256 string composed of 64 char.") | |
336 | + | else [StringEntry(ah(A), aD), StringEntry(ak(A, aD), R), IntegerEntry(Q(aD, R), aq), StringEntry(S(aD, R), al), StringEntry(T(aD, R), am), StringEntry(U(aD, R), ay), StringEntry(W(aD, R), aA), StringEntry(V(aD, R), az), StringEntry(ab(aD, R), aB), StringEntry(ac(aD, R), aC), StringEntry(ae(aD, R), aw), StringEntry(ad(aD, R), av), IntegerEntry(X(aD, R), ax), StringEntry(Y(aD, R), y), IntegerEntry(Z(aD, R), 0), BooleanEntry(aa(aD, R), false), StringEntry(ai(aD, y), R), StringEntry("last_invoke_id", R), StringEntry(af(aD, R), A), ScriptTransfer(Address(fromBase58String(c)), aF, aG)] | |
337 | + | } | |
338 | + | } | |
339 | + | } | |
340 | + | } | |
341 | + | } | |
342 | + | } | |
343 | + | } | |
344 | + | ||
345 | + | ||
346 | + | ||
347 | + | @Callable(au) | |
348 | + | func updateArtwork (ag,al,am,av,aw,ax,ay,az,aA,aB,aC) = { | |
349 | + | let aP = toBase58String(au.transactionId) | |
350 | + | let aD = toBase58String(au.caller.bytes) | |
351 | + | let aJ = r(S(aD, ag)) | |
352 | + | if ((aJ == "")) | |
353 | + | then throw("This entry doesn't exist or you are not the owner") | |
354 | + | else if ((size(al) == 0)) | |
355 | + | then throw("Title cannot be empty") | |
356 | + | else if ((size(al) > 100)) | |
357 | + | then throw("100 Characters maximum for the name") | |
358 | + | else if ((size(am) > 1000)) | |
359 | + | then throw("1000 Characters maximum for the description") | |
360 | + | else if ((size(am) == 0)) | |
361 | + | then throw("Description cannot be empty") | |
362 | + | else { | |
363 | + | let aQ = { | |
364 | + | let t = getInteger(this, Z(aD, ag)) | |
365 | + | if ($isInstanceOf(t, "Int")) | |
366 | + | then { | |
367 | + | let H = t | |
368 | + | if ((H == 0)) | |
369 | + | then false | |
370 | + | else true | |
371 | + | } | |
372 | + | else false | |
373 | + | } | |
374 | + | let aM = split(av, ",") | |
375 | + | if ((size(aM) > 5)) | |
376 | + | then throw("Tags should be maximum 5 single word separated by space.") | |
377 | + | else { | |
378 | + | let aN = { | |
379 | + | let t = getString(this, ("user_status_" + aD)) | |
380 | + | if ($isInstanceOf(t, "String")) | |
381 | + | then { | |
382 | + | let aO = t | |
383 | + | aO | |
384 | + | } | |
385 | + | else n | |
386 | + | } | |
387 | + | if (if (isDefined(aN)) | |
388 | + | then (aN == n) | |
389 | + | else false) | |
390 | + | then throw("Please register this account first with \"User infos\" tab") | |
391 | + | else if ((aN == l)) | |
392 | + | then throw("Your account is suspended") | |
393 | + | else if ((aN == m)) | |
394 | + | then throw("Your account have been removed") | |
395 | + | else if ((ax > 10)) | |
396 | + | then throw("Maximum 10 editions per artwork") | |
397 | + | else if (!(aQ)) | |
398 | + | then [StringEntry(S(aD, ag), al), StringEntry(T(aD, ag), am), StringEntry(U(aD, ag), ay), StringEntry(W(aD, ag), aA), StringEntry(V(aD, ag), az), StringEntry(ac(aD, ag), aC), StringEntry(ab(aD, ag), aB), IntegerEntry(X(aD, ag), ax), StringEntry(ad(aD, ag), av), StringEntry(ae(aD, ag), aw), StringEntry("last_invoke_id", aP)] | |
399 | + | else [StringEntry(S(aD, ag), al), StringEntry(T(aD, ag), am), StringEntry(U(aD, ag), ay), StringEntry(ae(aD, ag), aw), StringEntry(ad(aD, ag), av), StringEntry("last_invoke_id", aP)] | |
400 | + | } | |
401 | + | } | |
402 | + | } | |
403 | + | ||
404 | + | ||
405 | + | ||
406 | + | @Callable(w) | |
407 | + | func deleteArtwork (R,ar) = { | |
408 | + | let aD = toString(addressFromPublicKey(w.callerPublicKey)) | |
409 | + | let D = toBase58String(w.transactionId) | |
410 | + | let aR = if (if ((aD == f)) | |
411 | + | then true | |
412 | + | else (aD == g)) | |
413 | + | then ar | |
414 | + | else aD | |
415 | + | let aJ = { | |
416 | + | let t = getString(this, S(aR, R)) | |
417 | + | if ($isInstanceOf(t, "String")) | |
418 | + | then { | |
419 | + | let aO = t | |
420 | + | aO | |
421 | + | } | |
422 | + | else throw("No artwork matching this request or you are not allowed") | |
423 | + | } | |
424 | + | let aQ = { | |
425 | + | let t = getInteger(this, Z(aR, R)) | |
426 | + | if ($isInstanceOf(t, "Int")) | |
427 | + | then { | |
428 | + | let H = t | |
429 | + | if ((H == 0)) | |
430 | + | then false | |
431 | + | else true | |
432 | + | } | |
433 | + | else false | |
434 | + | } | |
435 | + | let A = { | |
436 | + | let t = getString(this, af(aR, R)) | |
437 | + | if ($isInstanceOf(t, "String")) | |
438 | + | then { | |
439 | + | let aO = t | |
440 | + | aO | |
441 | + | } | |
442 | + | else throw("No artwork hash matching this request") | |
443 | + | } | |
444 | + | let y = { | |
445 | + | let t = getString(this, Y(aR, R)) | |
446 | + | if ($isInstanceOf(t, "String")) | |
447 | + | then { | |
448 | + | let aO = t | |
449 | + | aO | |
450 | + | } | |
451 | + | else throw("No SIGN ID matching this request") | |
452 | + | } | |
453 | + | let aS = [DeleteEntry(Q(aR, R)), DeleteEntry(S(aR, R)), DeleteEntry(T(aR, R)), DeleteEntry(U(aR, R)), DeleteEntry(W(aR, R)), DeleteEntry(V(aR, R)), DeleteEntry(ab(aR, R)), DeleteEntry(ac(aR, R)), DeleteEntry(ae(aR, R)), DeleteEntry(ad(aR, R)), DeleteEntry(X(aR, R)), DeleteEntry(Y(aR, R)), DeleteEntry(Z(aR, R)), DeleteEntry(aa(aR, R)), StringEntry("last_invoke_id", D), DeleteEntry(ah(A)), DeleteEntry(ai(aR, y)), DeleteEntry(ak(A, aR))] | |
454 | + | if (if ((aD == f)) | |
455 | + | then true | |
456 | + | else (aD == g)) | |
457 | + | then aS | |
458 | + | else if (!(aQ)) | |
459 | + | then aS | |
460 | + | else throw("This artwork already have minted NFT, you cannot delete it") | |
461 | + | } | |
462 | + | ||
463 | + | ||
464 | + | ||
465 | + | @Callable(au) | |
466 | + | func sellArtwork (aT,aI) = { | |
467 | + | let D = toBase58String(au.transactionId) | |
468 | + | let aD = toBase58String(au.caller.bytes) | |
469 | + | let aU = lastBlock.timestamp | |
470 | + | let aV = r(((aT + "_") + aD)) | |
471 | + | if (!(isDefined(aV))) | |
472 | + | then throw("This artwork doesn't exit or you are not the owner") | |
473 | + | else { | |
474 | + | let aN = r(("user_status_" + aD)) | |
475 | + | if ((aN == "")) | |
476 | + | then throw("Please register this account first") | |
477 | + | else { | |
478 | + | let aW = v(((("art_issued_" + aV) + "_") + aD)) | |
479 | + | let aX = v(((("art_maxmint_" + aV) + "_") + aD)) | |
480 | + | if ((aW == aX)) | |
481 | + | then throw("You reached the max edition allowed to sell for this edition.") | |
482 | + | else if ((aN == l)) | |
483 | + | then throw("Your account is suspended") | |
484 | + | else if (!(isDefined(aV))) | |
485 | + | then throw("This artwork desn't exist") | |
486 | + | else if ((size(aT) != 64)) | |
487 | + | then throw("This hash is incorrect.") | |
488 | + | else { | |
489 | + | let aY = if ((aI > 0)) | |
490 | + | then true | |
491 | + | else false | |
492 | + | [BooleanEntry(((("art_onsale_" + aV) + "_") + aD), aY), IntegerEntry(((("art_price_" + aV) + "_") + aD), aI), StringEntry("last_invoke_id", D)] | |
493 | + | } | |
494 | + | } | |
495 | + | } | |
496 | + | } | |
497 | + | ||
498 | + | ||
499 | + | ||
500 | + | @Callable(au) | |
501 | + | func buyArtwork (aT,aZ) = { | |
502 | + | let D = toBase58String(au.transactionId) | |
503 | + | let aD = toBase58String(au.caller.bytes) | |
504 | + | let ba = v("total_nft_issued") | |
505 | + | let aV = r(((aT + "_") + aZ)) | |
506 | + | if ((aV == "")) | |
507 | + | then throw("This artwork doesn't exit or you are not the owner") | |
508 | + | else { | |
509 | + | let aN = r(("user_status_" + aD)) | |
510 | + | if (!(isDefined(aN))) | |
511 | + | then throw("Please register this account first") | |
512 | + | else { | |
513 | + | let bb = r(((("art_sold_" + aV) + "_") + aZ)) | |
514 | + | let aW = v(((("art_issued_" + aV) + "_") + aZ)) | |
515 | + | let bc = v(((("art_price_" + aV) + "_") + aZ)) | |
516 | + | if ((bc == 0)) | |
517 | + | then throw("This artwork is not for sell") | |
518 | + | else { | |
519 | + | let aX = v(((("art_maxmint_" + aV) + "_") + aZ)) | |
520 | + | let aE = value(au.payments[0]) | |
521 | + | let aF = value(aE.amount) | |
522 | + | let aG = if (isDefined(aE.assetId)) | |
523 | + | then throw("Only Waves token accepted at the moment") | |
524 | + | else unit | |
525 | + | if ((aW == aX)) | |
526 | + | then throw("Cannot buy this artwork anymore") | |
527 | + | else if ((bc != aF)) | |
528 | + | then throw("Payment don't match seller price") | |
529 | + | else { | |
530 | + | let bd = (aW + 1) | |
531 | + | let aU = lastBlock.timestamp | |
532 | + | let be = (((((((((((((("{\"version\": 1,\"artID\": \"" + aV) + "\",\"maxIssuable\": \"") + toString(aX)) + "\",\"signID\": \"SA_") + toString((ba + 1))) + "\", \"creator\": \"") + aZ) + "\", \"issue\": \"") + toString(bd)) + "/") + toString(aX)) + "\", \"hash\": ") + aT) + "}") | |
533 | + | let bf = Issue(("SA_" + toString((ba + 1))), be, 1, 0, false) | |
534 | + | let bg = calculateAssetId(bf) | |
535 | + | let aY = if ((bd == aX)) | |
536 | + | then false | |
537 | + | else true | |
538 | + | [IntegerEntry(((("art_issued_" + aV) + "_") + aZ), bd), StringEntry(((((((("art_sold_" + toString(bd)) + "_of_") + toString(aX)) + "_") + aV) + "_") + aZ), ((((((aD + "_") + toString(aU)) + "_") + D) + "_") + toString(bc))), IntegerEntry("total_nft_issued", (ba + 1)), StringEntry("last_invoke_id", D), bf, BooleanEntry(((("art_onsale_" + aV) + "_") + aD), aY), ScriptTransfer(Address(fromBase58String(aZ)), aF, aG), ScriptTransfer(au.caller, 1, bg)] | |
539 | + | } | |
540 | + | } | |
541 | + | } | |
542 | + | } | |
543 | + | } | |
544 | + | ||
545 | + |
github/deemru/w8io/026f985 31.50 ms ◑