tx · ExHZ9BDECPdmn88CX64jAganXyiwGwdQQwne7dktFkd8 3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL: -0.01400000 Waves 2021.01.23 11:29 [1365923] smart account 3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL > SELF 0.00000000 Waves
{ "type": 13, "id": "ExHZ9BDECPdmn88CX64jAganXyiwGwdQQwne7dktFkd8", "fee": 1400000, "feeAssetId": null, "timestamp": 1611390618488, "version": 2, "chainId": 84, "sender": "3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL", "senderPublicKey": "7irc2VpK5czoyVdwrCuQqr2JU9ZaZnEZn8RPChnfi3yL", "proofs": [ "3vihDxhj2xLxwMqzhNvKpZdSKk5tCGCcjdtPghs6j4mLMA8sw6Uf1dvWwUywxThH9omZMGQ9utgoakF9WzmCn8jA" ], "script": "base64:AAIEAAAAAAAAAFcIAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgSBAoCCAgSBgoECAgICBIGCgQICAgIEgMKAQgAAABDAAAAAAh1bml0VGVzdAcAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRXlqU1dZQW9jVFBxZDU1d2RIUVFCM1BVMlVDbQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXdEWmF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yeQUAAAADbmlsCQAAAgAAAAECAAAAAm5vAAAAANLgW+E=", "height": 1365923, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2cxAvvzc5FsNEFP345QymEikmgcZKmRJ7Qh381nmwbVz Next: 3ML8nb4cXRQC4K4meSGC3xdni1BJi2oYGLTGp24W27gy Diff:
Old | New | Differences | |
---|---|---|---|
653 | 653 | let bo = ch._1 | |
654 | 654 | let N = ch._2 | |
655 | 655 | let bp = ch._3 | |
656 | - | if ((N != bm)) | |
656 | + | if (if ((N != bm)) | |
657 | + | then (N != bk) | |
658 | + | else false) | |
657 | 659 | then throw("You cannot do this action") | |
658 | 660 | else { | |
659 | 661 | let bd = ((((((("bid_" + P) + "_") + bk) + "_") + bm) + "_") + bl) | |
665 | 667 | let aN = if ((bf[0] == "WAVES")) | |
666 | 668 | then unit | |
667 | 669 | else fromBase58String(bf[0]) | |
668 | - | [DeleteEntry((bd + "_OPEN")), StringEntry((bd + "_CANCELED"), ((be + "_") + toString(bp))), ScriptTransfer(Address(fromBase58String(N)), parseIntValue(bf[1]), aN)] | |
670 | + | let ci = if ((N == bm)) | |
671 | + | then "CANCELED" | |
672 | + | else "REJECTED" | |
673 | + | [DeleteEntry((bd + "_OPEN")), StringEntry(((bd + "_") + ci), ((be + "_") + toString(bp))), ScriptTransfer(Address(fromBase58String(bm)), parseIntValue(bf[1]), aN)] | |
669 | 674 | } | |
670 | 675 | } | |
671 | 676 | } | |
673 | 678 | ||
674 | 679 | ||
675 | 680 | @Callable(aI) | |
676 | - | func deleteEntry ( | |
681 | + | func deleteEntry (cj) = { | |
677 | 682 | let N = toString(addressFromPublicKey(aI.callerPublicKey)) | |
678 | 683 | if ((N == j)) | |
679 | - | then [DeleteEntry( | |
684 | + | then [DeleteEntry(cj)] | |
680 | 685 | else throw("no") | |
681 | 686 | } | |
682 | 687 |
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 1 | |
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 ((aN == toBase58String(i))) | |
320 | 320 | then (aZ > aY) | |
321 | 321 | else false) | |
322 | 322 | then (aY != 0) | |
323 | 323 | else false) | |
324 | 324 | then throw("Wrong minimum sell price") | |
325 | 325 | else true | |
326 | 326 | } | |
327 | 327 | ||
328 | 328 | ||
329 | 329 | func bc (bd) = { | |
330 | 330 | let be = x((bd + "_OPEN")) | |
331 | 331 | if ((be == "")) | |
332 | 332 | then throw("Bid not found") | |
333 | 333 | else { | |
334 | 334 | let bf = split(be, "_") | |
335 | 335 | let bg = parseIntValue(bf[1]) | |
336 | 336 | let bh = if ((bf[0] == "WAVES")) | |
337 | 337 | then unit | |
338 | 338 | else fromBase58String(bf[0]) | |
339 | 339 | if ((0 >= bg)) | |
340 | 340 | then throw("Wrong amount") | |
341 | 341 | else $Tuple2(bg, bh) | |
342 | 342 | } | |
343 | 343 | } | |
344 | 344 | ||
345 | 345 | ||
346 | 346 | func bi (aI) = if (!(p)) | |
347 | 347 | then throw(q) | |
348 | 348 | else $Tuple3(toBase58String(aI.transactionId), toBase58String(aI.caller.bytes), lastBlock.timestamp) | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | func bj (aI,P,bk,bl,bm) = { | |
352 | 352 | let bn = bi(aI) | |
353 | 353 | let bo = bn._1 | |
354 | 354 | let N = bn._2 | |
355 | 355 | let bp = bn._3 | |
356 | 356 | let bq = z("total_nft_issued") | |
357 | 357 | let D = x(W(bk, P)) | |
358 | 358 | let br = x(Q(bk, P)) | |
359 | 359 | if ((br == "")) | |
360 | 360 | then throw("Art doesn't exist") | |
361 | 361 | else { | |
362 | 362 | let bs = B(Y(bk, P)) | |
363 | 363 | let bt = z(X(bk, P)) | |
364 | 364 | let aU = z(ad(bk, P)) | |
365 | 365 | let aT = x(ae(bk, P)) | |
366 | 366 | let bu = z(V(bk, P)) | |
367 | 367 | let bv = if (if (if ((N == bk)) | |
368 | 368 | then (bm != "") | |
369 | 369 | else false) | |
370 | 370 | then (bl != "") | |
371 | 371 | else false) | |
372 | 372 | then true | |
373 | 373 | else false | |
374 | 374 | let bd = ((((((("bid_" + P) + "_") + bk) + "_") + bm) + "_") + bl) | |
375 | 375 | if (if (if ((0 >= aU)) | |
376 | 376 | then true | |
377 | 377 | else !(bs)) | |
378 | 378 | then true | |
379 | 379 | else (0 >= bu)) | |
380 | 380 | then throw("Art not for sale") | |
381 | 381 | else { | |
382 | 382 | let bw = if (bv) | |
383 | 383 | then bc(bd) | |
384 | 384 | else aS(aI, aT, aU) | |
385 | 385 | let aK = bw._1 | |
386 | 386 | let aN = bw._2 | |
387 | 387 | let bx = A(bk) | |
388 | 388 | let by = if ((bx > height)) | |
389 | 389 | then 0 | |
390 | 390 | else if ((aT == toBase58String(g))) | |
391 | 391 | then l | |
392 | 392 | else m | |
393 | 393 | let bz = fraction(aK, by, 100) | |
394 | 394 | let bA = (aK - bz) | |
395 | 395 | if ((bt == bu)) | |
396 | 396 | then throw("Art sold out") | |
397 | 397 | else { | |
398 | 398 | let bB = (bt + 1) | |
399 | 399 | let bC = ((((((((((("Creator: " + bk) + ", | |
400 | 400 | ArtID: ") + P) + ", | |
401 | 401 | SignID: ") + D) + ", | |
402 | 402 | Artwork name: ") + br) + ", | |
403 | 403 | Issue: ") + toString(bB)) + "/") + toString(bu)) | |
404 | 404 | let bD = Issue(("SA_" + toString((bq + 1))), bC, 1, 0, false) | |
405 | 405 | let bE = calculateAssetId(bD) | |
406 | 406 | let bF = if ((bB == bu)) | |
407 | 407 | then false | |
408 | 408 | else true | |
409 | 409 | let bG = if (if (if ((N == bk)) | |
410 | 410 | then (bm != "") | |
411 | 411 | else false) | |
412 | 412 | then (bl != "") | |
413 | 413 | else false) | |
414 | 414 | then addressFromStringValue(bm) | |
415 | 415 | else aI.caller | |
416 | 416 | let bH = [IntegerEntry(X(bk, P), bB), StringEntry(("nft_" + toBase58String(bE)), ((((((("art_sold_" + toString(bB)) + "_of_") + toString(bu)) + "_") + P) + "_") + bk)), IntegerEntry("total_nft_issued", (bq + 1)), BooleanEntry(Y(bk, P), bF), bD, ScriptTransfer(Address(fromBase58String(bk)), bA, aN), ScriptTransfer(Address(fromBase58String(d)), bz, aN), ScriptTransfer(bG, 1, bE)] | |
417 | 417 | let bI = if (!(isDefined(aN))) | |
418 | 418 | then "WAVES" | |
419 | 419 | else toBase58String(value(aN)) | |
420 | 420 | let bJ = x((bd + "_OPEN")) | |
421 | 421 | let bK = DeleteEntry((bd + "_OPEN")) | |
422 | 422 | let bL = StringEntry((bd + "_CLOSED"), ((bJ + "_") + toString(bp))) | |
423 | 423 | let bM = if (!(bv)) | |
424 | 424 | then ((((((((((N + "_") + toString(bp)) + "_") + bo) + "_") + toString(aU)) + "_") + aT) + "_") + toBase58String(bE)) | |
425 | 425 | else ((((((((((toString(bG) + "_") + toString(bp)) + "_") + bo) + "_") + toString(aK)) + "_") + bI) + "_") + toBase58String(bE)) | |
426 | 426 | let bN = StringEntry(((((((("art_sold_" + toString(bB)) + "_of_") + toString(bu)) + "_") + P) + "_") + bk), bM) | |
427 | 427 | if (bv) | |
428 | 428 | then [bN, bL, bK] :: bH | |
429 | 429 | else bN :: bH | |
430 | 430 | } | |
431 | 431 | } | |
432 | 432 | } | |
433 | 433 | } | |
434 | 434 | ||
435 | 435 | ||
436 | 436 | @Callable(aI) | |
437 | 437 | func addArtwork (F,D,aC,aD,aE,bO,aF,an,ar,ao,as,ap) = { | |
438 | 438 | let bP = bi(aI) | |
439 | 439 | let P = bP._1 | |
440 | 440 | let N = bP._2 | |
441 | 441 | let bp = bP._3 | |
442 | 442 | if (!(K(F))) | |
443 | 443 | then throw("Hash should be 64 characters maximum") | |
444 | 444 | else { | |
445 | 445 | let bQ = ay(ap, as) | |
446 | 446 | let aA = bQ._1 | |
447 | 447 | let aB = bQ._2 | |
448 | 448 | let bR = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF) | |
449 | 449 | if ((bR != "")) | |
450 | 450 | then throw("Something went wrong!") | |
451 | 451 | else { | |
452 | 452 | let bS = aL(aI) | |
453 | 453 | let aK = bS._1 | |
454 | 454 | let aN = bS._2 | |
455 | 455 | if (!(isDefined(aK))) | |
456 | 456 | then throw("Something went wrong") | |
457 | 457 | else { | |
458 | 458 | let bT = x(al(F, N)) | |
459 | 459 | if ((bT != "")) | |
460 | 460 | then throw("You already added it") | |
461 | 461 | else { | |
462 | 462 | let bU = x(ai(F)) | |
463 | 463 | if ((bU != "")) | |
464 | 464 | then throw("Hash already registered") | |
465 | 465 | else { | |
466 | 466 | let bV = C(D, N, F) | |
467 | 467 | if (!(bV)) | |
468 | 468 | then throw("Sign Certificate not found for this address.") | |
469 | 469 | else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bp), 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), bO), 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)] | |
470 | 470 | } | |
471 | 471 | } | |
472 | 472 | } | |
473 | 473 | } | |
474 | 474 | } | |
475 | 475 | } | |
476 | 476 | ||
477 | 477 | ||
478 | 478 | ||
479 | 479 | @Callable(aI) | |
480 | 480 | func updateArtwork (ah,aC,aD,aE,bO,aF,an,ar,ao,as,ap) = if (!(p)) | |
481 | 481 | then throw(q) | |
482 | 482 | else { | |
483 | 483 | let N = toBase58String(aI.caller.bytes) | |
484 | 484 | let bW = ay(ap, as) | |
485 | 485 | let aA = bW._1 | |
486 | 486 | let aB = bW._2 | |
487 | 487 | let bR = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF) | |
488 | 488 | if ((bR != "")) | |
489 | 489 | then throw("Something went wrong!") | |
490 | 490 | else { | |
491 | 491 | let bT = x(Q(N, ah)) | |
492 | 492 | if ((bT == "")) | |
493 | 493 | then throw("Entry not found") | |
494 | 494 | else { | |
495 | 495 | let bX = x(af(N, ah)) | |
496 | 496 | if ((bX == "ILLEGAL")) | |
497 | 497 | then throw("Cannot update ILLEGAL artwork") | |
498 | 498 | else if (!(aP(N, ah))) | |
499 | 499 | 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), bO)] | |
500 | 500 | else throw("Already minted") | |
501 | 501 | } | |
502 | 502 | } | |
503 | 503 | } | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | ||
507 | 507 | @Callable(aI) | |
508 | 508 | func flagArtwork (P,bY,bX) = { | |
509 | 509 | let bZ = bi(aI) | |
510 | 510 | let bo = bZ._1 | |
511 | 511 | let N = bZ._2 | |
512 | 512 | if (containsElement([j, k, toString(this)], N)) | |
513 | 513 | then if ((bX == "CONSENT")) | |
514 | 514 | then [StringEntry(af(bY, P), bX)] | |
515 | 515 | else if ((bX == "")) | |
516 | 516 | then [StringEntry(af(bY, P), bX)] | |
517 | 517 | else if ((bX == "ILLEGAL")) | |
518 | 518 | then [StringEntry(af(bY, P), bX), StringEntry(Q(bY, P), "ILLEGAL CONTENT"), StringEntry(R(bY, P), "ILLEGAL CONTENT"), StringEntry(S(bY, P), ""), StringEntry(U(bY, P), ""), StringEntry(aa(bY, P), "")] | |
519 | 519 | else throw(("Unknow status " + bX)) | |
520 | 520 | else throw("You are not allowed") | |
521 | 521 | } | |
522 | 522 | ||
523 | 523 | ||
524 | 524 | ||
525 | 525 | @Callable(aI) | |
526 | 526 | func deleteArtwork (P,bY) = { | |
527 | 527 | let ca = bi(aI) | |
528 | 528 | let bo = ca._1 | |
529 | 529 | let N = ca._2 | |
530 | 530 | let aQ = if (containsElement([j, k, toString(this)], N)) | |
531 | 531 | then bY | |
532 | 532 | else N | |
533 | 533 | let bT = valueOrErrorMessage(x(Q(aQ, P)), "No art matching for this address") | |
534 | 534 | if ((bT == "")) | |
535 | 535 | then throw("No art matching for this address") | |
536 | 536 | else { | |
537 | 537 | let F = x(ag(aQ, P)) | |
538 | 538 | if ((F == "")) | |
539 | 539 | then throw("No art hash matching for this address") | |
540 | 540 | else { | |
541 | 541 | let D = x(W(aQ, P)) | |
542 | 542 | if ((D == "")) | |
543 | 543 | then throw("No SIGN ID matching") | |
544 | 544 | else { | |
545 | 545 | let cb = [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(bY, P)), DeleteEntry(ad(bY, P)), DeleteEntry(ae(bY, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aQ, D)), DeleteEntry(al(F, aQ))] | |
546 | 546 | if (!(aP(aQ, P))) | |
547 | 547 | then if (!(p)) | |
548 | 548 | then throw(q) | |
549 | 549 | else cb | |
550 | 550 | else if (containsElement([j, toString(this)], N)) | |
551 | 551 | then cb | |
552 | 552 | else throw("Art already minted, you cannot delete it") | |
553 | 553 | } | |
554 | 554 | } | |
555 | 555 | } | |
556 | 556 | } | |
557 | 557 | ||
558 | 558 | ||
559 | 559 | ||
560 | 560 | @Callable(aI) | |
561 | 561 | func sellArtwork (P,aY,cc,aN) = { | |
562 | 562 | let cd = bi(aI) | |
563 | 563 | let bo = cd._1 | |
564 | 564 | let N = cd._2 | |
565 | 565 | let br = x(Q(N, P)) | |
566 | 566 | if ((br == "")) | |
567 | 567 | then throw("This art doesn't match your account") | |
568 | 568 | else { | |
569 | 569 | let ce = x(U(N, P)) | |
570 | 570 | if ((size(split(ce, "/")[0]) != 59)) | |
571 | 571 | then throw("You cannot sell art with no export file") | |
572 | 572 | else if (!(aW(aN))) | |
573 | 573 | then throw("Something went wrong!") | |
574 | 574 | else if (!(aX(aN, aY))) | |
575 | 575 | then throw("Something went wrong!") | |
576 | 576 | else { | |
577 | 577 | let aG = aw(N) | |
578 | 578 | if ((aG != "")) | |
579 | 579 | then throw(aG) | |
580 | 580 | else { | |
581 | 581 | let bt = z(X(N, P)) | |
582 | 582 | let bu = z(V(N, P)) | |
583 | 583 | if ((cc > 10)) | |
584 | 584 | then throw("10 editions max per artwork") | |
585 | 585 | else if (if ((bt != 0)) | |
586 | 586 | then (bt == bu) | |
587 | 587 | else false) | |
588 | 588 | then throw("Max edition reached.") | |
589 | 589 | else if (if ((bt > 0)) | |
590 | 590 | then (bu != cc) | |
591 | 591 | else false) | |
592 | 592 | then throw("Cannot change maximum issuable anymore") | |
593 | 593 | else { | |
594 | 594 | let bF = if (if ((aY > 0)) | |
595 | 595 | then (cc > 0) | |
596 | 596 | else false) | |
597 | 597 | then true | |
598 | 598 | else false | |
599 | 599 | [BooleanEntry(Y(N, P), bF), IntegerEntry(ad(N, P), aY), IntegerEntry(V(N, P), cc), StringEntry(ae(N, P), aN)] | |
600 | 600 | } | |
601 | 601 | } | |
602 | 602 | } | |
603 | 603 | } | |
604 | 604 | } | |
605 | 605 | ||
606 | 606 | ||
607 | 607 | ||
608 | 608 | @Callable(aI) | |
609 | 609 | func buyArtwork (P,bk) = bj(aI, P, bk, "", "") | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | ||
613 | 613 | @Callable(aI) | |
614 | 614 | func setBid (P,bk) = { | |
615 | 615 | let cf = bi(aI) | |
616 | 616 | let bo = cf._1 | |
617 | 617 | let N = cf._2 | |
618 | 618 | let bp = cf._3 | |
619 | 619 | let cg = aH(aI) | |
620 | 620 | let aJ = cg._1 | |
621 | 621 | let aK = cg._2 | |
622 | 622 | let aN = if (!(isDefined(aJ.assetId))) | |
623 | 623 | then "WAVES" | |
624 | 624 | else toBase58String(value(aJ.assetId)) | |
625 | 625 | if (!(aW(aN))) | |
626 | 626 | then throw("Something went wrong!") | |
627 | 627 | else if (!(aX(aN, aK))) | |
628 | 628 | then throw("Something went wrong!") | |
629 | 629 | else { | |
630 | 630 | let bt = z(X(bk, P)) | |
631 | 631 | let bu = z(V(bk, P)) | |
632 | 632 | if ((bt >= bu)) | |
633 | 633 | then throw("Sold out, you cannot bid") | |
634 | 634 | else [StringEntry((((((((("bid_" + P) + "_") + bk) + "_") + N) + "_") + bo) + "_OPEN"), ((((aN + "_") + toString(aK)) + "_") + toString(bp)))] | |
635 | 635 | } | |
636 | 636 | } | |
637 | 637 | ||
638 | 638 | ||
639 | 639 | ||
640 | 640 | @Callable(aI) | |
641 | 641 | func acceptBid (P,bk,bl,bm) = { | |
642 | 642 | let N = toBase58String(aI.caller.bytes) | |
643 | 643 | if ((N != bk)) | |
644 | 644 | then throw("You cannot do this action") | |
645 | 645 | else bj(aI, P, bk, bl, bm) | |
646 | 646 | } | |
647 | 647 | ||
648 | 648 | ||
649 | 649 | ||
650 | 650 | @Callable(aI) | |
651 | 651 | func cancelBid (P,bk,bl,bm) = { | |
652 | 652 | let ch = bi(aI) | |
653 | 653 | let bo = ch._1 | |
654 | 654 | let N = ch._2 | |
655 | 655 | let bp = ch._3 | |
656 | - | if ((N != bm)) | |
656 | + | if (if ((N != bm)) | |
657 | + | then (N != bk) | |
658 | + | else false) | |
657 | 659 | then throw("You cannot do this action") | |
658 | 660 | else { | |
659 | 661 | let bd = ((((((("bid_" + P) + "_") + bk) + "_") + bm) + "_") + bl) | |
660 | 662 | let be = x((bd + "_OPEN")) | |
661 | 663 | if ((be == "")) | |
662 | 664 | then throw("Bid not found") | |
663 | 665 | else { | |
664 | 666 | let bf = split(be, "_") | |
665 | 667 | let aN = if ((bf[0] == "WAVES")) | |
666 | 668 | then unit | |
667 | 669 | else fromBase58String(bf[0]) | |
668 | - | [DeleteEntry((bd + "_OPEN")), StringEntry((bd + "_CANCELED"), ((be + "_") + toString(bp))), ScriptTransfer(Address(fromBase58String(N)), parseIntValue(bf[1]), aN)] | |
670 | + | let ci = if ((N == bm)) | |
671 | + | then "CANCELED" | |
672 | + | else "REJECTED" | |
673 | + | [DeleteEntry((bd + "_OPEN")), StringEntry(((bd + "_") + ci), ((be + "_") + toString(bp))), ScriptTransfer(Address(fromBase58String(bm)), parseIntValue(bf[1]), aN)] | |
669 | 674 | } | |
670 | 675 | } | |
671 | 676 | } | |
672 | 677 | ||
673 | 678 | ||
674 | 679 | ||
675 | 680 | @Callable(aI) | |
676 | - | func deleteEntry ( | |
681 | + | func deleteEntry (cj) = { | |
677 | 682 | let N = toString(addressFromPublicKey(aI.callerPublicKey)) | |
678 | 683 | if ((N == j)) | |
679 | - | then [DeleteEntry( | |
684 | + | then [DeleteEntry(cj)] | |
680 | 685 | else throw("no") | |
681 | 686 | } | |
682 | 687 | ||
683 | 688 |
github/deemru/w8io/026f985 72.67 ms ◑