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