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