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