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