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