tx · GLJKD2fnS1x23FQSNnUMx5m8enZ1uf5i6iECwpHQZggs 3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL: -0.01400000 Waves 2021.01.22 13:20 [1364522] smart account 3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL > SELF 0.00000000 Waves
{ "type": 13, "id": "GLJKD2fnS1x23FQSNnUMx5m8enZ1uf5i6iECwpHQZggs", "fee": 1400000, "feeAssetId": null, "timestamp": 1611310866707, "version": 2, "chainId": 84, "sender": "3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL", "senderPublicKey": "7irc2VpK5czoyVdwrCuQqr2JU9ZaZnEZn8RPChnfi3yL", "proofs": [ "4DWeFoLoJwtVM4wi7oBcKHXZn7nMzMLF5njVdLTG67ac2MD7LPt9TYwMXXv3uMAV7iXPgwoiGtEA2J3bhHN5fbZs" ], "script": "base64:AAIEAAAAAAAAAE8IAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgSBAoCCAgSBgoECAgICBIDCgEIAAAAQQAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAACHNpZ25EYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAtmZWVSZWNlaXZlcgIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAACHVzZXJEYXBwAwUAAAAIdW5pdFRlc3QJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM010NFJHTUV5alNXWUFvY1RQcWQ1NXdkSFFRQjNQVTJVQ20JAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAA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lRW50cnkAAAABAAAABWVudHJ5BAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkAAAAAAAACBQAAAAZjYWxsZXIFAAAABWNocmlzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABWVudHJ5BQAAAANuaWwJAAACAAAAAQIAAAACbm8AAAAAIvkBlg==", "height": 1364522, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A5LiwtMDwgZ1KvJ5eM6vHr6WaFVxzoSa1115CAr5fexm Next: DbwPZqDw6T6hTbJcHJYg4zvreTj2HXRhssSJu4mHoRFU Diff:
Old | New | Differences | |
---|---|---|---|
319 | 319 | let bd = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN")) | |
320 | 320 | if (!(isDefined(bd))) | |
321 | 321 | then throw("Bid not found") | |
322 | - | else { | |
323 | - | let be = split(bd, "_") | |
324 | - | let bf = parseIntValue(be[1]) | |
325 | - | let bg = if ((be[0] == "WAVES")) | |
326 | - | then unit | |
327 | - | else fromBase58String(be[0]) | |
328 | - | if ((0 >= bf)) | |
329 | - | then throw("Wrong amount") | |
330 | - | else $Tuple2(bf, bg) | |
331 | - | } | |
322 | + | else if (true) | |
323 | + | then throw(bd) | |
324 | + | else { | |
325 | + | let be = split(bd, "_") | |
326 | + | let bf = parseIntValue(be[1]) | |
327 | + | let bg = if ((be[0] == "WAVES")) | |
328 | + | then unit | |
329 | + | else fromBase58String(be[0]) | |
330 | + | if ((0 >= bf)) | |
331 | + | then throw("Wrong amount") | |
332 | + | else $Tuple2(bf, bg) | |
333 | + | } | |
332 | 334 | } | |
333 | 335 | ||
334 | 336 |
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 | let aL = if (if (isDefined(aJ.assetId)) | |
235 | 235 | then (aJ.assetId == g) | |
236 | 236 | else false) | |
237 | 237 | then aJ.assetId | |
238 | 238 | else throw("Only SIGN token accepted as transaction fee") | |
239 | 239 | let aM = y(("certification_fee_" + toBase58String(g))) | |
240 | 240 | if ((aK != aM)) | |
241 | 241 | then throw(("Payment amount should be " + toString(aM))) | |
242 | 242 | else $Tuple2(aK, aL) | |
243 | 243 | } | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func aN (aO,P) = { | |
247 | 247 | let G = getInteger(this, X(aO, P)) | |
248 | 248 | if ($isInstanceOf(G, "Int")) | |
249 | 249 | then { | |
250 | 250 | let aP = G | |
251 | 251 | if ((aP != 0)) | |
252 | 252 | then true | |
253 | 253 | else false | |
254 | 254 | } | |
255 | 255 | else false | |
256 | 256 | } | |
257 | 257 | ||
258 | 258 | ||
259 | 259 | func aQ (aI,aR,aS) = { | |
260 | 260 | let aJ = value(aI.payments[0]) | |
261 | 261 | let aK = value(aJ.amount) | |
262 | 262 | let aL = if (!(isDefined(aJ.assetId))) | |
263 | 263 | then unit | |
264 | 264 | else if (if ((size(aR) > 0)) | |
265 | 265 | then (toBase58String(value(aJ.assetId)) == aR) | |
266 | 266 | else false) | |
267 | 267 | then aJ.assetId | |
268 | 268 | else throw("Wrong asset id") | |
269 | 269 | if (if ((aL == unit)) | |
270 | 270 | then (aR != "") | |
271 | 271 | else false) | |
272 | 272 | then throw("Wrong asset id") | |
273 | 273 | else if ((aS != aK)) | |
274 | 274 | then throw("Payment don't match") | |
275 | 275 | else $Tuple2(aK, aL) | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func aT (aL) = if (if (if ((aL != toBase58String(g))) | |
280 | 280 | then (aL != toBase58String(i)) | |
281 | 281 | else false) | |
282 | 282 | then (aL != toBase58String(h)) | |
283 | 283 | else false) | |
284 | 284 | then throw("Only SIGN, USDN or WAVES accepted") | |
285 | 285 | else true | |
286 | 286 | ||
287 | 287 | ||
288 | 288 | func aU (aL,aV) = { | |
289 | 289 | let aW = if (a) | |
290 | 290 | then 1 | |
291 | 291 | else y("waves_min_sell") | |
292 | 292 | let aX = 1000000 | |
293 | 293 | let aY = if (a) | |
294 | 294 | then 1 | |
295 | 295 | else (y(("certification_fee_" + toBase58String(g))) * 2) | |
296 | 296 | if (if (if (if (if ((aL == toBase58String(h))) | |
297 | 297 | then (aX > aV) | |
298 | 298 | else false) | |
299 | 299 | then (aV != 0) | |
300 | 300 | else false) | |
301 | 301 | then true | |
302 | 302 | else if (if ((aL == toBase58String(g))) | |
303 | 303 | then (aY > aV) | |
304 | 304 | else false) | |
305 | 305 | then (aV != 0) | |
306 | 306 | else false) | |
307 | 307 | then true | |
308 | 308 | else if (if ((aL == toBase58String(i))) | |
309 | 309 | then (aW > aV) | |
310 | 310 | else false) | |
311 | 311 | then (aV != 0) | |
312 | 312 | else false) | |
313 | 313 | then throw("Wrong minimum sell price") | |
314 | 314 | else true | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | func aZ (P,ba,bb,bc) = { | |
319 | 319 | let bd = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN")) | |
320 | 320 | if (!(isDefined(bd))) | |
321 | 321 | then throw("Bid not found") | |
322 | - | else { | |
323 | - | let be = split(bd, "_") | |
324 | - | let bf = parseIntValue(be[1]) | |
325 | - | let bg = if ((be[0] == "WAVES")) | |
326 | - | then unit | |
327 | - | else fromBase58String(be[0]) | |
328 | - | if ((0 >= bf)) | |
329 | - | then throw("Wrong amount") | |
330 | - | else $Tuple2(bf, bg) | |
331 | - | } | |
322 | + | else if (true) | |
323 | + | then throw(bd) | |
324 | + | else { | |
325 | + | let be = split(bd, "_") | |
326 | + | let bf = parseIntValue(be[1]) | |
327 | + | let bg = if ((be[0] == "WAVES")) | |
328 | + | then unit | |
329 | + | else fromBase58String(be[0]) | |
330 | + | if ((0 >= bf)) | |
331 | + | then throw("Wrong amount") | |
332 | + | else $Tuple2(bf, bg) | |
333 | + | } | |
332 | 334 | } | |
333 | 335 | ||
334 | 336 | ||
335 | 337 | func bh (aI,P,ba,bb,bc) = { | |
336 | 338 | let bi = toBase58String(aI.transactionId) | |
337 | 339 | let N = toBase58String(aI.caller.bytes) | |
338 | 340 | let bj = z("total_nft_issued") | |
339 | 341 | let D = x(W(ba, P)) | |
340 | 342 | let bk = x(Q(ba, P)) | |
341 | 343 | if ((bk == "")) | |
342 | 344 | then throw("Art doesn't exist") | |
343 | 345 | else { | |
344 | 346 | let bl = x(S(ba, P)) | |
345 | 347 | let bm = x(U(ba, P)) | |
346 | 348 | let bn = x(T(ba, P)) | |
347 | 349 | let aA = x(aa(ba, P)) | |
348 | 350 | let aB = x(Z(ba, P)) | |
349 | 351 | let aD = take(x(R(ba, P)), 50) | |
350 | 352 | let bo = B(Y(ba, P)) | |
351 | 353 | let bp = z(X(ba, P)) | |
352 | 354 | let aS = z(ad(ba, P)) | |
353 | 355 | let aR = x(ae(ba, P)) | |
354 | 356 | let bq = x(ag(ba, P)) | |
355 | 357 | let br = z(V(ba, P)) | |
356 | 358 | if (if (if ((0 >= aS)) | |
357 | 359 | then true | |
358 | 360 | else !(bo)) | |
359 | 361 | then true | |
360 | 362 | else (0 >= br)) | |
361 | 363 | then throw("Art not for sale") | |
362 | 364 | else { | |
363 | 365 | let bs = if (if (if ((N == ba)) | |
364 | 366 | then (bc != "") | |
365 | 367 | else false) | |
366 | 368 | then (bb != "") | |
367 | 369 | else false) | |
368 | 370 | then aZ(P, ba, bb, bc) | |
369 | 371 | else aQ(aI, aR, aS) | |
370 | 372 | let aK = bs._1 | |
371 | 373 | let aL = bs._2 | |
372 | 374 | let bt = A(ba) | |
373 | 375 | let bu = if ((bt > height)) | |
374 | 376 | then 0 | |
375 | 377 | else if ((aR == toBase58String(g))) | |
376 | 378 | then l | |
377 | 379 | else m | |
378 | 380 | let bv = fraction(aK, bu, 100) | |
379 | 381 | let bw = (aK - bv) | |
380 | 382 | if ((bp == br)) | |
381 | 383 | then throw("Art sold out") | |
382 | 384 | else { | |
383 | 385 | let bx = (bp + 1) | |
384 | 386 | let by = lastBlock.timestamp | |
385 | 387 | let bz = ((((((((((((((((((((((((((("Creator: " + ba) + ", | |
386 | 388 | ArtID: ") + P) + ", | |
387 | 389 | SignID: ") + D) + ", | |
388 | 390 | Artwork name: ") + bk) + ", | |
389 | 391 | Artwork description: ") + aD) + ", | |
390 | 392 | Issue: ") + toString(bx)) + "/") + toString(br)) + ", | |
391 | 393 | Max issuable: ") + toString(br)) + ", | |
392 | 394 | Source hash: ") + bq) + ", | |
393 | 395 | Display cid: ") + bl) + ", | |
394 | 396 | Export cid: ") + bm) + ", | |
395 | 397 | Export hash: ") + bn) + ", | |
396 | 398 | Licence cid: ") + aA) + ", | |
397 | 399 | Licence hash: ") + aB) | |
398 | 400 | let bA = Issue(("SA_" + toString((bj + 1))), bz, 1, 0, false) | |
399 | 401 | let bB = calculateAssetId(bA) | |
400 | 402 | let bC = if ((bx == br)) | |
401 | 403 | then false | |
402 | 404 | else true | |
403 | 405 | let bD = if (if (if ((N == ba)) | |
404 | 406 | then (bc != "") | |
405 | 407 | else false) | |
406 | 408 | then (bb != "") | |
407 | 409 | else false) | |
408 | 410 | then addressFromStringValue(bc) | |
409 | 411 | else aI.caller | |
410 | 412 | let bE = [IntegerEntry(X(ba, P), bx), StringEntry(("nft_" + toBase58String(bB)), ((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), IntegerEntry("total_nft_issued", (bj + 1)), BooleanEntry(Y(ba, P), bC), bA, ScriptTransfer(Address(fromBase58String(ba)), bw, aL), ScriptTransfer(Address(fromBase58String(d)), bv, aL), ScriptTransfer(bD, 1, bB)] | |
411 | 413 | let bF = StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((N + "_") + toString(by)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bB))) | |
412 | 414 | let bG = if (!(isDefined(aL))) | |
413 | 415 | then "WAVES" | |
414 | 416 | else toBase58String(value(aL)) | |
415 | 417 | let bH = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN")) | |
416 | 418 | let bI = DeleteEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN")) | |
417 | 419 | let bJ = StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_CLOSED"), bH) | |
418 | 420 | let bK = StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((toString(bD) + "_") + toString(by)) + "_") + bi) + "_") + toString(aK)) + "_") + bG) + "_") + toBase58String(bB))) | |
419 | 421 | if (if (if ((N == ba)) | |
420 | 422 | then (bc != "") | |
421 | 423 | else false) | |
422 | 424 | then (bb != "") | |
423 | 425 | else false) | |
424 | 426 | then [bK, bJ, bI] :: bE | |
425 | 427 | else bF :: bE | |
426 | 428 | } | |
427 | 429 | } | |
428 | 430 | } | |
429 | 431 | } | |
430 | 432 | ||
431 | 433 | ||
432 | 434 | @Callable(aI) | |
433 | 435 | func addArtwork (F,D,aC,aD,aE,bL,aF,an,ar,ao,as,ap) = if (!(p)) | |
434 | 436 | then throw(q) | |
435 | 437 | else { | |
436 | 438 | let P = toBase58String(aI.transactionId) | |
437 | 439 | let bM = lastBlock.timestamp | |
438 | 440 | let N = toBase58String(aI.caller.bytes) | |
439 | 441 | if (!(K(F))) | |
440 | 442 | then throw("Hash should be 64 characters maximum") | |
441 | 443 | else { | |
442 | 444 | let bN = ay(ap, as) | |
443 | 445 | let aA = bN._1 | |
444 | 446 | let aB = bN._2 | |
445 | 447 | let bO = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF) | |
446 | 448 | if ((bO != "")) | |
447 | 449 | then throw("Something went wrong!") | |
448 | 450 | else { | |
449 | 451 | let bP = aH(aI) | |
450 | 452 | let aK = bP._1 | |
451 | 453 | let aL = bP._2 | |
452 | 454 | if (!(isDefined(aK))) | |
453 | 455 | then throw("Something went wrong") | |
454 | 456 | else { | |
455 | 457 | let bQ = x(al(F, N)) | |
456 | 458 | if ((bQ != "")) | |
457 | 459 | then throw("You already added it") | |
458 | 460 | else { | |
459 | 461 | let bR = x(ai(F)) | |
460 | 462 | if ((bR != "")) | |
461 | 463 | then throw("Hash already registered") | |
462 | 464 | else { | |
463 | 465 | let bS = C(D, N, F) | |
464 | 466 | if (!(bS)) | |
465 | 467 | then throw("Sign Certificate not found for this address.") | |
466 | 468 | else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bM), 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), bL), 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, aL)] | |
467 | 469 | } | |
468 | 470 | } | |
469 | 471 | } | |
470 | 472 | } | |
471 | 473 | } | |
472 | 474 | } | |
473 | 475 | ||
474 | 476 | ||
475 | 477 | ||
476 | 478 | @Callable(aI) | |
477 | 479 | func updateArtwork (ah,aC,aD,aE,bL,aF,an,ar,ao,as,ap) = if (!(p)) | |
478 | 480 | then throw(q) | |
479 | 481 | else { | |
480 | 482 | let bT = toBase58String(aI.transactionId) | |
481 | 483 | let N = toBase58String(aI.caller.bytes) | |
482 | 484 | let bU = ay(ap, as) | |
483 | 485 | let aA = bU._1 | |
484 | 486 | let aB = bU._2 | |
485 | 487 | let bO = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF) | |
486 | 488 | if ((bO != "")) | |
487 | 489 | then throw("Something went wrong!") | |
488 | 490 | else { | |
489 | 491 | let bQ = x(Q(N, ah)) | |
490 | 492 | if ((bQ == "")) | |
491 | 493 | then throw("Entry not found") | |
492 | 494 | else { | |
493 | 495 | let bV = x(af(N, ah)) | |
494 | 496 | if ((bV == "ILLEGAL")) | |
495 | 497 | then throw("Cannot update ILLEGAL artwork") | |
496 | 498 | else if (!(aN(N, ah))) | |
497 | 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), bL)] | |
498 | 500 | else throw("Already minted") | |
499 | 501 | } | |
500 | 502 | } | |
501 | 503 | } | |
502 | 504 | ||
503 | 505 | ||
504 | 506 | ||
505 | 507 | @Callable(aI) | |
506 | 508 | func flagArtwork (P,bW,bV) = { | |
507 | 509 | let N = toString(addressFromPublicKey(aI.callerPublicKey)) | |
508 | 510 | let bi = toBase58String(aI.transactionId) | |
509 | 511 | if (containsElement([j, k, toString(this)], N)) | |
510 | 512 | then if ((bV == "CONSENT")) | |
511 | 513 | then [StringEntry(af(bW, P), bV)] | |
512 | 514 | else if ((bV == "")) | |
513 | 515 | then [StringEntry(af(bW, P), bV)] | |
514 | 516 | else if ((bV == "ILLEGAL")) | |
515 | 517 | then [StringEntry(af(bW, P), bV), StringEntry(Q(bW, P), "ILLEGAL CONTENT"), StringEntry(R(bW, P), "ILLEGAL CONTENT"), StringEntry(S(bW, P), ""), StringEntry(U(bW, P), ""), StringEntry(aa(bW, P), "")] | |
516 | 518 | else throw(("Unknow status " + bV)) | |
517 | 519 | else throw("You are not allowed") | |
518 | 520 | } | |
519 | 521 | ||
520 | 522 | ||
521 | 523 | ||
522 | 524 | @Callable(aI) | |
523 | 525 | func deleteArtwork (P,bW) = { | |
524 | 526 | let N = toString(addressFromPublicKey(aI.callerPublicKey)) | |
525 | 527 | let bi = toBase58String(aI.transactionId) | |
526 | 528 | let aO = if (containsElement([j, k, toString(this)], N)) | |
527 | 529 | then bW | |
528 | 530 | else N | |
529 | 531 | let bQ = x(Q(aO, P)) | |
530 | 532 | if ((bQ == "")) | |
531 | 533 | then throw("No art matching for this address") | |
532 | 534 | else { | |
533 | 535 | let F = x(ag(aO, P)) | |
534 | 536 | if ((F == "")) | |
535 | 537 | then throw("No art hash matching for this address") | |
536 | 538 | else { | |
537 | 539 | let D = x(W(aO, P)) | |
538 | 540 | if ((D == "")) | |
539 | 541 | then throw("No SIGN ID matching") | |
540 | 542 | else { | |
541 | 543 | let bX = [DeleteEntry(O(aO, P)), DeleteEntry(Q(aO, P)), DeleteEntry(R(aO, P)), DeleteEntry(S(aO, P)), DeleteEntry(U(aO, P)), DeleteEntry(T(aO, P)), DeleteEntry(Z(aO, P)), DeleteEntry(aa(aO, P)), DeleteEntry(ac(aO, P)), DeleteEntry(ab(aO, P)), DeleteEntry(V(aO, P)), DeleteEntry(W(aO, P)), DeleteEntry(X(aO, P)), DeleteEntry(Y(aO, P)), DeleteEntry(af(bW, P)), DeleteEntry(ad(bW, P)), DeleteEntry(ae(bW, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aO, D)), DeleteEntry(al(F, aO))] | |
542 | 544 | if (!(aN(aO, P))) | |
543 | 545 | then if (!(p)) | |
544 | 546 | then throw(q) | |
545 | 547 | else bX | |
546 | 548 | else if (containsElement([j, toString(this)], N)) | |
547 | 549 | then bX | |
548 | 550 | else throw("Art already minted, you cannot delete it") | |
549 | 551 | } | |
550 | 552 | } | |
551 | 553 | } | |
552 | 554 | } | |
553 | 555 | ||
554 | 556 | ||
555 | 557 | ||
556 | 558 | @Callable(aI) | |
557 | 559 | func sellArtwork (P,aV,bY,aL) = if (!(p)) | |
558 | 560 | then throw(q) | |
559 | 561 | else { | |
560 | 562 | let bi = toBase58String(aI.transactionId) | |
561 | 563 | let N = toBase58String(aI.caller.bytes) | |
562 | 564 | let bZ = lastBlock.timestamp | |
563 | 565 | let bk = x(Q(N, P)) | |
564 | 566 | if ((bk == "")) | |
565 | 567 | then throw("This art doesn't match match your account") | |
566 | 568 | else { | |
567 | 569 | let bm = x(U(N, P)) | |
568 | 570 | if ((size(split(bm, "/")[0]) != 59)) | |
569 | 571 | then throw("You cannot sell art with no export file") | |
570 | 572 | else { | |
571 | 573 | let bn = x(T(N, P)) | |
572 | 574 | if ((size(bn) != 64)) | |
573 | 575 | then throw("You cannot sell art with no export hash") | |
574 | 576 | else if (!(aT(aL))) | |
575 | 577 | then throw("Something went wrong!") | |
576 | 578 | else if (!(aU(aL, aV))) | |
577 | 579 | then throw("Something went wrong!") | |
578 | 580 | else { | |
579 | 581 | let aG = aw(N) | |
580 | 582 | if ((aG != "")) | |
581 | 583 | then throw(aG) | |
582 | 584 | else { | |
583 | 585 | let bp = z(X(N, P)) | |
584 | 586 | let br = z(V(N, P)) | |
585 | 587 | if ((bY > 10)) | |
586 | 588 | then throw("10 editions max per artwork") | |
587 | 589 | else if (if ((bp != 0)) | |
588 | 590 | then (bp == br) | |
589 | 591 | else false) | |
590 | 592 | then throw("Max edition reached.") | |
591 | 593 | else if (if ((bp > 0)) | |
592 | 594 | then (br != bY) | |
593 | 595 | else false) | |
594 | 596 | then throw("Cannot change maximum issuable anymore") | |
595 | 597 | else { | |
596 | 598 | let bC = if (if ((aV > 0)) | |
597 | 599 | then (bY > 0) | |
598 | 600 | else false) | |
599 | 601 | then true | |
600 | 602 | else false | |
601 | 603 | [BooleanEntry(Y(N, P), bC), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bY), StringEntry(ae(N, P), aL)] | |
602 | 604 | } | |
603 | 605 | } | |
604 | 606 | } | |
605 | 607 | } | |
606 | 608 | } | |
607 | 609 | } | |
608 | 610 | ||
609 | 611 | ||
610 | 612 | ||
611 | 613 | @Callable(aI) | |
612 | 614 | func buyArtwork (P,ba) = if (!(p)) | |
613 | 615 | then throw(q) | |
614 | 616 | else bh(aI, P, ba, "", "") | |
615 | 617 | ||
616 | 618 | ||
617 | 619 | ||
618 | 620 | @Callable(aI) | |
619 | 621 | func setBid (P,ba) = if (!(p)) | |
620 | 622 | then throw(q) | |
621 | 623 | else { | |
622 | 624 | let bi = toBase58String(aI.transactionId) | |
623 | 625 | let N = toBase58String(aI.caller.bytes) | |
624 | 626 | let bM = lastBlock.timestamp | |
625 | 627 | if ((size(aI.payments) == 0)) | |
626 | 628 | then throw("No payment attached") | |
627 | 629 | else { | |
628 | 630 | let aJ = value(aI.payments[0]) | |
629 | 631 | let aK = value(aJ.amount) | |
630 | 632 | let aL = if (!(isDefined(aJ.assetId))) | |
631 | 633 | then "WAVES" | |
632 | 634 | else toBase58String(value(aJ.assetId)) | |
633 | 635 | let bp = z(X(ba, P)) | |
634 | 636 | let br = z(V(ba, P)) | |
635 | 637 | if ((bp >= br)) | |
636 | 638 | then throw("Sold out, you cannot bid") | |
637 | 639 | else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bM)))] | |
638 | 640 | } | |
639 | 641 | } | |
640 | 642 | ||
641 | 643 | ||
642 | 644 | ||
643 | 645 | @Callable(aI) | |
644 | 646 | func acceptBid (P,ba,bb,bc) = if (!(p)) | |
645 | 647 | then throw(q) | |
646 | 648 | else { | |
647 | 649 | let N = toBase58String(aI.caller.bytes) | |
648 | 650 | if ((N != ba)) | |
649 | 651 | then throw("You cannot do this action") | |
650 | 652 | else bh(aI, P, ba, bb, bc) | |
651 | 653 | } | |
652 | 654 | ||
653 | 655 | ||
654 | 656 | ||
655 | 657 | @Callable(ca) | |
656 | 658 | func deleteEntry (cb) = { | |
657 | 659 | let N = toString(addressFromPublicKey(ca.callerPublicKey)) | |
658 | 660 | if ((N == j)) | |
659 | 661 | then [DeleteEntry(cb)] | |
660 | 662 | else throw("no") | |
661 | 663 | } | |
662 | 664 | ||
663 | 665 |
github/deemru/w8io/169f3d6 77.12 ms ◑