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