tx · 98Pa2kvtNVWtCx7GjJxkoNRtdrwjSTfuZiusS9f4EsSC 3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG: -0.01400000 Waves 2020.11.14 09:33 [1264688] smart account 3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG > SELF 0.00000000 Waves
{ "type": 13, "id": "98Pa2kvtNVWtCx7GjJxkoNRtdrwjSTfuZiusS9f4EsSC", "fee": 1400000, "feeAssetId": null, "timestamp": 1605335638623, "version": 2, "chainId": 84, "sender": "3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG", "senderPublicKey": "9SULUbW7L2jV2nv8v48Kdzox4cZ8jEfg778yJHJpgVwM", "proofs": [ "4FsenrQ13r5sAeTGRYcT9RKPV1hg2Dr1nZsdmT9VfYatMGhSsTzSgukSegRFhguDw4fJHFGHmNFUJwcZvxnfRvcg" ], "script": "base64:AAIEAAAAAAAAAGEIAhIGCgQICAgIEgYKBAgICAgSBAoCCAgSDgoMCAgICAgIAQgICAgIEg0KCwgICAgIAQgICAgIEgUKAwgICBIECgIICBIGCgQIAQEIEgQKAggIEgMKAQgSAwoBCBIDCgEIAAAAOwAAAAAJb3JhY2xlRmVlCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOMnM1UnRhSFBCZW5Dc3gyRUNjb0ZSYllIeDNub1poWFcxAAAAAAhzaWduRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAtzaWduQXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresAAAAAC3VzZG5Bc3NldElkAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAAAAAMd2F2ZX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wAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAANa2V5VXNlclN0YXR1cwAAAAEFAAAAB2FkZHJlc3MFAAAAC3VzZXJSZW1vdmVkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAADmxhc3RfaW52b2tlX2lkBQAAAAJpZAUAAAADbmlsCQAAAgAAAAECAAAAC05vdCBhbGxvd2VkAAAAAWkBAAAAC2RlbGV0ZUVudHJ5AAAAAQAAAAVlbnRyeQQAAAAGY2FsbGVyCQAEJQAAAAEJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQMJAAAAAAAAAgUAAAAGY2FsbGVyBQAAAAVjaHJpcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAVlbnRyeQUAAAADbmlsCQAAAgAAAAECAAAAAm5vAAAAAWkBAAAACmNyZWRpdFVzZXIAAAABAAAAB2FkZHJlc3MEAAAABmNhbGxlcgkABCUAAAABCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAAAmlkCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQDCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAVjaHJpcwkABEwAAAACBQAAAARqb2VwBQAAAANuaWwFAAAABmNhbGxlcgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAHYWRkcmVzcwAAAAAi7LJcAAUAAAALc2lnbkFzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAAAtOb3QgYWxsb3dlZAAAAABOmxgh", "height": 1264688, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HCkiTnpN7Dgpq1tfasvXqJ1gHeDKozinbPoL1p4KimbL Next: 4tKjbNpfXA5VfZuGzfHqoAB5ooB7GQRRPAa5diZJLsEQ 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 == p)) | |
316 | 316 | then (aK == o) | |
317 | 317 | else false) | |
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)) | |
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)) | |
322 | 326 | } | |
323 | 327 | ||
324 | 328 |
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 == p)) | |
316 | 316 | then (aK == o) | |
317 | 317 | else false) | |
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)) | |
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)) | |
322 | 326 | } | |
323 | 327 | ||
324 | 328 | ||
325 | 329 | ||
326 | 330 | @Callable(aN) | |
327 | 331 | func addArtwork (G,E,aB,aC,aO,aP,aQ,as,aw,at,ax,au) = if (!(m)) | |
328 | 332 | then throw(n) | |
329 | 333 | else { | |
330 | 334 | let U = toBase58String(aN.transactionId) | |
331 | 335 | let M = toBase58String(aN.caller.bytes) | |
332 | 336 | if (!(ar(as, at, au))) | |
333 | 337 | then throw("Problem with CID") | |
334 | 338 | else if (!(J(G))) | |
335 | 339 | then throw("Hash should be 64 characters maximum") | |
336 | 340 | else if (!(av(aw, ax))) | |
337 | 341 | then throw("Problem with Hashes") | |
338 | 342 | else if ((size(aN.payments) == 0)) | |
339 | 343 | then throw("No payment attached") | |
340 | 344 | else { | |
341 | 345 | let aR = value(aN.payments[0]) | |
342 | 346 | let aS = value(aR.amount) | |
343 | 347 | let aT = if (if (isDefined(aR.assetId)) | |
344 | 348 | then (aR.assetId == d) | |
345 | 349 | else false) | |
346 | 350 | then aR.assetId | |
347 | 351 | else throw("Only SIGN token accepted at the moment") | |
348 | 352 | let aU = z(("certification_fee_" + toBase58String(d))) | |
349 | 353 | if ((aS != aU)) | |
350 | 354 | then throw(("Payment amount should be " + toString(aU))) | |
351 | 355 | else { | |
352 | 356 | let aV = v(aq(G, M)) | |
353 | 357 | if ((aV != "")) | |
354 | 358 | then throw("You already added it") | |
355 | 359 | else { | |
356 | 360 | let aW = v(an(G)) | |
357 | 361 | if ((aW != "")) | |
358 | 362 | then throw("Hash already registered") | |
359 | 363 | else { | |
360 | 364 | let aX = D(E, M, G) | |
361 | 365 | if (!(aX)) | |
362 | 366 | then throw("Sign Certificate not found for this address.") | |
363 | 367 | else if ((size(as) == 0)) | |
364 | 368 | then throw("Display CID cannot be empty") | |
365 | 369 | else if (!(ay(aB, 100))) | |
366 | 370 | then throw("100 Char. max name") | |
367 | 371 | else if (!(ay(aC, 1000))) | |
368 | 372 | then throw("1000 Char. max description") | |
369 | 373 | else if ((size(split(aO, ",")) > 5)) | |
370 | 374 | then throw("5 tags max.") | |
371 | 375 | else { | |
372 | 376 | let aY = { | |
373 | 377 | let x = getString(this, ("user_status_" + M)) | |
374 | 378 | if ($isInstanceOf(x, "String")) | |
375 | 379 | then { | |
376 | 380 | let aZ = x | |
377 | 381 | aZ | |
378 | 382 | } | |
379 | 383 | else t | |
380 | 384 | } | |
381 | 385 | let aH = lastBlock.timestamp | |
382 | 386 | if (if (isDefined(aY)) | |
383 | 387 | then (aY == t) | |
384 | 388 | else false) | |
385 | 389 | then throw("Register this account first with \"User infos\" tab") | |
386 | 390 | else if ((aY == r)) | |
387 | 391 | then throw("Account suspended") | |
388 | 392 | else if ((aY == s)) | |
389 | 393 | then throw("Account removed") | |
390 | 394 | else if ((aQ > 10)) | |
391 | 395 | then throw("10 editions max") | |
392 | 396 | else if ((size(G) != 64)) | |
393 | 397 | then throw("Hash 64 char. max") | |
394 | 398 | 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)] | |
395 | 399 | } | |
396 | 400 | } | |
397 | 401 | } | |
398 | 402 | } | |
399 | 403 | } | |
400 | 404 | } | |
401 | 405 | ||
402 | 406 | ||
403 | 407 | ||
404 | 408 | @Callable(aN) | |
405 | 409 | func updateArtwork (am,aB,aC,aO,aP,aQ,as,aw,at,ax,au) = if (!(m)) | |
406 | 410 | then throw(n) | |
407 | 411 | else { | |
408 | 412 | let ba = toBase58String(aN.transactionId) | |
409 | 413 | let M = toBase58String(aN.caller.bytes) | |
410 | 414 | if (!(ar(as, at, au))) | |
411 | 415 | then throw("Problem with CID") | |
412 | 416 | else if (!(av(aw, ax))) | |
413 | 417 | then throw("Problem with Hashes") | |
414 | 418 | else { | |
415 | 419 | let aV = v(V(M, am)) | |
416 | 420 | if ((aV == "")) | |
417 | 421 | then throw("Entry not found") | |
418 | 422 | else if (!(ay(aB, 100))) | |
419 | 423 | then throw("100 Char. max name") | |
420 | 424 | else if (!(ay(aC, 1000))) | |
421 | 425 | then throw("1000 Char. max description") | |
422 | 426 | else { | |
423 | 427 | let bb = v(ak(M, am)) | |
424 | 428 | if ((bb == "ILLEGAL")) | |
425 | 429 | then throw("Cannot update") | |
426 | 430 | else { | |
427 | 431 | let bc = { | |
428 | 432 | let x = getInteger(this, ac(M, am)) | |
429 | 433 | if ($isInstanceOf(x, "Int")) | |
430 | 434 | then { | |
431 | 435 | let bd = x | |
432 | 436 | if ((bd == 0)) | |
433 | 437 | then false | |
434 | 438 | else true | |
435 | 439 | } | |
436 | 440 | else false | |
437 | 441 | } | |
438 | 442 | if ((size(split(aO, ",")) > 5)) | |
439 | 443 | then throw("5 tags max.") | |
440 | 444 | else { | |
441 | 445 | let aY = { | |
442 | 446 | let x = getString(this, ("user_status_" + M)) | |
443 | 447 | if ($isInstanceOf(x, "String")) | |
444 | 448 | then { | |
445 | 449 | let aZ = x | |
446 | 450 | aZ | |
447 | 451 | } | |
448 | 452 | else t | |
449 | 453 | } | |
450 | 454 | if (if (isDefined(aY)) | |
451 | 455 | then (aY == t) | |
452 | 456 | else false) | |
453 | 457 | then throw("Register first with \"User infos\"") | |
454 | 458 | else if ((aY == r)) | |
455 | 459 | then throw("Account suspended") | |
456 | 460 | else if ((aY == s)) | |
457 | 461 | then throw("Account removed") | |
458 | 462 | else if ((aQ > 10)) | |
459 | 463 | then throw("10 editions max per artwork") | |
460 | 464 | else if (!(bc)) | |
461 | 465 | 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)] | |
462 | 466 | else throw("Already minted") | |
463 | 467 | } | |
464 | 468 | } | |
465 | 469 | } | |
466 | 470 | } | |
467 | 471 | } | |
468 | 472 | ||
469 | 473 | ||
470 | 474 | ||
471 | 475 | @Callable(B) | |
472 | 476 | func flagArtwork (U,be,bb) = { | |
473 | 477 | let M = toString(addressFromPublicKey(B.callerPublicKey)) | |
474 | 478 | let aG = toBase58String(B.transactionId) | |
475 | 479 | if (containsElement([j, k], M)) | |
476 | 480 | then if ((bb == "CONSENT")) | |
477 | 481 | then [StringEntry(ak(be, U), bb), StringEntry("last_invoke_id", aG)] | |
478 | 482 | else if ((bb == "")) | |
479 | 483 | then [StringEntry(ak(be, U), bb), StringEntry("last_invoke_id", aG)] | |
480 | 484 | else if ((bb == "ILLEGAL")) | |
481 | 485 | 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)] | |
482 | 486 | else throw(("Unknow status" + bb)) | |
483 | 487 | else throw("no") | |
484 | 488 | } | |
485 | 489 | ||
486 | 490 | ||
487 | 491 | ||
488 | 492 | @Callable(B) | |
489 | 493 | func deleteArtwork (U,be) = { | |
490 | 494 | let M = toString(addressFromPublicKey(B.callerPublicKey)) | |
491 | 495 | let aG = toBase58String(B.transactionId) | |
492 | 496 | let bf = if (containsElement([j, k], M)) | |
493 | 497 | then be | |
494 | 498 | else M | |
495 | 499 | let aV = { | |
496 | 500 | let x = getString(this, V(bf, U)) | |
497 | 501 | if ($isInstanceOf(x, "String")) | |
498 | 502 | then { | |
499 | 503 | let aZ = x | |
500 | 504 | aZ | |
501 | 505 | } | |
502 | 506 | else throw("No art matching") | |
503 | 507 | } | |
504 | 508 | let bc = { | |
505 | 509 | let x = getInteger(this, ac(bf, U)) | |
506 | 510 | if ($isInstanceOf(x, "Int")) | |
507 | 511 | then { | |
508 | 512 | let bd = x | |
509 | 513 | if ((bd != 0)) | |
510 | 514 | then true | |
511 | 515 | else false | |
512 | 516 | } | |
513 | 517 | else false | |
514 | 518 | } | |
515 | 519 | let bg = A(aa(bf, U)) | |
516 | 520 | let G = { | |
517 | 521 | let x = getString(this, al(bf, U)) | |
518 | 522 | if ($isInstanceOf(x, "String")) | |
519 | 523 | then { | |
520 | 524 | let aZ = x | |
521 | 525 | aZ | |
522 | 526 | } | |
523 | 527 | else throw("No art hash matching") | |
524 | 528 | } | |
525 | 529 | let E = { | |
526 | 530 | let x = getString(this, ab(bf, U)) | |
527 | 531 | if ($isInstanceOf(x, "String")) | |
528 | 532 | then { | |
529 | 533 | let aZ = x | |
530 | 534 | aZ | |
531 | 535 | } | |
532 | 536 | else throw("No SIGN ID matching") | |
533 | 537 | } | |
534 | 538 | 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))] | |
535 | 539 | if (!(bc)) | |
536 | 540 | then if (!(m)) | |
537 | 541 | then throw(n) | |
538 | 542 | else bh | |
539 | 543 | else throw("Art already minted, cannot delete") | |
540 | 544 | } | |
541 | 545 | ||
542 | 546 | ||
543 | 547 | ||
544 | 548 | @Callable(B) | |
545 | 549 | func sellArtwork (U,bi,bg,aT) = if (!(m)) | |
546 | 550 | then throw(n) | |
547 | 551 | else { | |
548 | 552 | let aG = toBase58String(B.transactionId) | |
549 | 553 | let M = toBase58String(B.caller.bytes) | |
550 | 554 | let bj = lastBlock.timestamp | |
551 | 555 | let bk = v(Z(M, U)) | |
552 | 556 | if ((size(split(bk, "/")[0]) != 59)) | |
553 | 557 | then throw("You cannot sell art with no export file") | |
554 | 558 | else { | |
555 | 559 | let bl = v(Y(M, U)) | |
556 | 560 | if ((size(bl) != 64)) | |
557 | 561 | then throw("You cannot sell art with no export hash") | |
558 | 562 | else if (if (if ((aT != toBase58String(d))) | |
559 | 563 | then (aT != toBase58String(f)) | |
560 | 564 | else false) | |
561 | 565 | then (aT != toBase58String(e)) | |
562 | 566 | else false) | |
563 | 567 | then throw("Only SIGN, USDN or WAVES accepted") | |
564 | 568 | else { | |
565 | 569 | let bm = z("waves_min_sell") | |
566 | 570 | let bn = 1000000 | |
567 | 571 | let bo = (z(("certification_fee_" + toBase58String(d))) * 2) | |
568 | 572 | if (if (if (if (if ((aT == toBase58String(e))) | |
569 | 573 | then (bn > bi) | |
570 | 574 | else false) | |
571 | 575 | then (bi != 0) | |
572 | 576 | else false) | |
573 | 577 | then true | |
574 | 578 | else if (if ((aT == toBase58String(d))) | |
575 | 579 | then (bo > bi) | |
576 | 580 | else false) | |
577 | 581 | then (bi != 0) | |
578 | 582 | else false) | |
579 | 583 | then true | |
580 | 584 | else if (if ((aT == toBase58String(f))) | |
581 | 585 | then (bm > bi) | |
582 | 586 | else false) | |
583 | 587 | then (bi != 0) | |
584 | 588 | else false) | |
585 | 589 | then throw("Wrong minimum sell price") | |
586 | 590 | else { | |
587 | 591 | let bp = { | |
588 | 592 | let x = getString(this, V(M, U)) | |
589 | 593 | if ($isInstanceOf(x, "String")) | |
590 | 594 | then { | |
591 | 595 | let aZ = x | |
592 | 596 | aZ | |
593 | 597 | } | |
594 | 598 | else throw("This art doesn't match") | |
595 | 599 | } | |
596 | 600 | let aY = { | |
597 | 601 | let x = getString(this, R(M)) | |
598 | 602 | if ($isInstanceOf(x, "String")) | |
599 | 603 | then { | |
600 | 604 | let aZ = x | |
601 | 605 | aZ | |
602 | 606 | } | |
603 | 607 | else throw("Register this account first") | |
604 | 608 | } | |
605 | 609 | let bq = A(ac(M, U)) | |
606 | 610 | let br = A(aa(M, U)) | |
607 | 611 | if (if ((bq != 0)) | |
608 | 612 | then (bq == br) | |
609 | 613 | else false) | |
610 | 614 | then throw("Max edition reached.") | |
611 | 615 | else if (if ((bq > 0)) | |
612 | 616 | then (br != bg) | |
613 | 617 | else false) | |
614 | 618 | then throw("Cannot change maximum issuable anymore") | |
615 | 619 | else if ((aY == r)) | |
616 | 620 | then throw("Account suspended") | |
617 | 621 | else if ((aY == s)) | |
618 | 622 | then throw("Account deleted") | |
619 | 623 | else { | |
620 | 624 | let bs = if ((bi > 0)) | |
621 | 625 | then true | |
622 | 626 | else false | |
623 | 627 | [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)] | |
624 | 628 | } | |
625 | 629 | } | |
626 | 630 | } | |
627 | 631 | } | |
628 | 632 | } | |
629 | 633 | ||
630 | 634 | ||
631 | 635 | ||
632 | 636 | @Callable(B) | |
633 | 637 | func buyArtwork (U,bt) = if (!(m)) | |
634 | 638 | then throw(n) | |
635 | 639 | else { | |
636 | 640 | let aG = toBase58String(B.transactionId) | |
637 | 641 | let M = toBase58String(B.caller.bytes) | |
638 | 642 | let bu = A("total_nft_issued") | |
639 | 643 | let E = v(ab(bt, U)) | |
640 | 644 | let bp = { | |
641 | 645 | let x = getString(this, V(bt, U)) | |
642 | 646 | if ($isInstanceOf(x, "String")) | |
643 | 647 | then { | |
644 | 648 | let aZ = x | |
645 | 649 | aZ | |
646 | 650 | } | |
647 | 651 | else throw("Art doesn't exist") | |
648 | 652 | } | |
649 | 653 | let bv = v(X(bt, U)) | |
650 | 654 | let bk = v(Z(bt, U)) | |
651 | 655 | let bl = v(Y(bt, U)) | |
652 | 656 | let bw = v(af(bt, U)) | |
653 | 657 | let bx = v(ae(bt, U)) | |
654 | 658 | let aC = take(v(W(bt, U)), 50) | |
655 | 659 | let bq = A(ac(bt, U)) | |
656 | 660 | let by = A(ai(bt, U)) | |
657 | 661 | let bz = C(ad(bt, U)) | |
658 | 662 | let bA = v(aj(bt, U)) | |
659 | 663 | let bB = v(al(bt, U)) | |
660 | 664 | if ((by == 0)) | |
661 | 665 | then throw("Art not for sell") | |
662 | 666 | else if (!(bz)) | |
663 | 667 | then throw("Art not for sale") | |
664 | 668 | else { | |
665 | 669 | let br = A(aa(bt, U)) | |
666 | 670 | let aR = value(B.payments[0]) | |
667 | 671 | let aS = value(aR.amount) | |
668 | 672 | let aT = if (if (if (isDefined(aR.assetId)) | |
669 | 673 | then (size(fromBase58String(bA)) > 0) | |
670 | 674 | else false) | |
671 | 675 | then (aR.assetId == fromBase58String(bA)) | |
672 | 676 | else false) | |
673 | 677 | then aR.assetId | |
674 | 678 | else unit | |
675 | 679 | let bC = if ((bA == toBase58String(d))) | |
676 | 680 | then 8 | |
677 | 681 | else 10 | |
678 | 682 | let bD = fraction(aS, bC, 100) | |
679 | 683 | let bE = (aS - bD) | |
680 | 684 | if ((bq == br)) | |
681 | 685 | then throw("Art sold out") | |
682 | 686 | else if ((by != aS)) | |
683 | 687 | then throw("Payment don't match") | |
684 | 688 | else { | |
685 | 689 | let bF = (bq + 1) | |
686 | 690 | let bG = lastBlock.timestamp | |
687 | 691 | let bH = (((((((((((((((((((((((((((("{\"version\": 1, | |
688 | 692 | \"creator\": \"" + bt) + "\", | |
689 | 693 | \"artID\": \"") + U) + "\", | |
690 | 694 | \"signID\": \"") + E) + "\", | |
691 | 695 | \"artwork_name\": \"") + bp) + "\", | |
692 | 696 | \"artwork_desc\": \"") + aC) + "\", | |
693 | 697 | \"issue\": \"") + toString(bF)) + "/") + toString(br)) + "\", | |
694 | 698 | \"maxIssuable\": \"") + toString(br)) + "\", | |
695 | 699 | \"source_hash\": \"") + bB) + "\", | |
696 | 700 | \"display_cid\": \"") + bv) + "\", | |
697 | 701 | \"export_cid\": \"") + bk) + "\", | |
698 | 702 | \"export_hash\": \"") + bl) + "\", | |
699 | 703 | \"licence_cid\": \"") + bw) + "\", | |
700 | 704 | \"licence_hash\": \"") + bx) + "\"}") | |
701 | 705 | let bI = Issue(("SA_" + toString((bu + 1))), bH, 1, 0, false) | |
702 | 706 | let bJ = calculateAssetId(bI) | |
703 | 707 | let bs = if ((bF == br)) | |
704 | 708 | then false | |
705 | 709 | else true | |
706 | 710 | [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)] | |
707 | 711 | } | |
708 | 712 | } | |
709 | 713 | } | |
710 | 714 | ||
711 | 715 | ||
712 | 716 | ||
713 | 717 | @Callable(B) | |
714 | 718 | func deleteUser (aJ) = { | |
715 | 719 | let M = toString(addressFromPublicKey(B.callerPublicKey)) | |
716 | 720 | let aG = toBase58String(B.transactionId) | |
717 | 721 | if (containsElement([j, k], M)) | |
718 | 722 | 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)] | |
719 | 723 | else throw("Not allowed") | |
720 | 724 | } | |
721 | 725 | ||
722 | 726 | ||
723 | 727 | ||
724 | 728 | @Callable(B) | |
725 | 729 | func deleteEntry (bK) = { | |
726 | 730 | let M = toString(addressFromPublicKey(B.callerPublicKey)) | |
727 | 731 | if ((M == j)) | |
728 | 732 | then [DeleteEntry(bK)] | |
729 | 733 | else throw("no") | |
730 | 734 | } | |
731 | 735 | ||
732 | 736 | ||
733 | 737 | ||
734 | 738 | @Callable(B) | |
735 | 739 | func creditUser (aJ) = { | |
736 | 740 | let M = toString(addressFromPublicKey(B.callerPublicKey)) | |
737 | 741 | let aG = toBase58String(B.transactionId) | |
738 | 742 | if (containsElement([j, k], M)) | |
739 | 743 | then [ScriptTransfer(Address(fromBase58String(aJ)), 150000000000, d)] | |
740 | 744 | else throw("Not allowed") | |
741 | 745 | } | |
742 | 746 | ||
743 | 747 |
github/deemru/w8io/026f985 95.03 ms ◑