tx · Fm6QjPp4aeGD2s8svM4jBeFrW7DDn5hbLjL1r1fhaAHP 3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY: -0.01400000 Waves 2021.02.25 07:52 [1413164] smart account 3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY > SELF 0.00000000 Waves
{ "type": 13, "id": "Fm6QjPp4aeGD2s8svM4jBeFrW7DDn5hbLjL1r1fhaAHP", "fee": 1400000, "feeAssetId": null, "timestamp": 1614228753946, "version": 2, "chainId": 84, "sender": "3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY", "senderPublicKey": "J9DCtJJxJBWZdtDR12BA1U94Q3cZzMi4R6k5hYkAzmzC", "proofs": [ "4yBToKdyBMbVqxwBwtBmCgCZibucY8RaPrnwxJm3oPDbRTWodpFuyNpmBYEabQT1JhWYQo6P9L5k7nfSVCMFbZu" ], "script": "base64:AAIEAAAAAAAAAFYIAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgSBAoCCAgSBgoECAgICBIFCgMICAgSAwoBCAAAAEoAAAAACHVuaXRUZXN0BwAAAAAJb3JhY2xlRmVlCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOMnM1UnRhSFBCZW5Dc3gyRUNjb0ZSYllIeDNub1poWFcxAAAAAAhzaWduRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAh1c2VyRGFwcAMFAAAACHVuaXRUZXN0CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNdDRSR01FeWpTV1lBb2NUUHFkNTV3ZEhRUUIzUFUyVUNtCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNd0RaYWdvWUV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AAAAAIJAAEsAAAAAgUAAAAHYmlkRGF0YQIAAAABXwkAAaQAAAABBQAAAARkYXRlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAAZjYWxsZXIJAQAAAA1wYXJzZUludFZhbHVlAAAAAQkAAZEAAAACBQAAAApiaWREYXRhQXJyAAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwAAAABaQEAAAALZGVsZXRlRW50cnkAAAABAAAABWVudHJ5BAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkAAAAAAAACBQAAAAZjYWxsZXIFAAAABWNocmlzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABWVudHJ5BQAAAANuaWwJAAACAAAAAQIAAAACbm8AAAAA/CdjbA==", "height": 1413164, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BY59S6AR92CV1svicUmvDnPwaNjLs8sjicgzXcMiVWvi Next: AfV4MxfWoXrjs1iETDZYeXTCRwBe1jqP2SFdxLmqr54Z Diff:
Old | New | Differences | |
---|---|---|---|
364 | 364 | ||
365 | 365 | func bo (aI,bl,P,bp) = { | |
366 | 366 | let bq = (toBase58String(aI.caller.bytes) == bl) | |
367 | - | if (true) | |
368 | - | then throw(("Is caller? = " + toString(bq))) | |
367 | + | let br = z("total_nft_issued") | |
368 | + | let D = x(W(bl, P)) | |
369 | + | let bs = x(Q(bl, P)) | |
370 | + | if ((bs == "")) | |
371 | + | then throw("Art doesn't exist") | |
369 | 372 | else { | |
370 | - | let br = z("total_nft_issued") | |
371 | - | let D = x(W(bl, P)) | |
372 | - | let bs = x(Q(bl, P)) | |
373 | - | if ((bs == "")) | |
374 | - | then throw("Art doesn't exist") | |
375 | - | else { | |
376 | - | let bt = B(Y(bl, P)) | |
377 | - | let bu = z(X(bl, P)) | |
378 | - | let aU = if (bq) | |
379 | - | then y(("certification_fee_" + toBase58String(g))) | |
380 | - | else z(ad(bl, P)) | |
381 | - | let aT = if (bq) | |
382 | - | then toBase58String(g) | |
383 | - | else x(ae(bl, P)) | |
384 | - | let bv = z(V(bl, P)) | |
385 | - | if (if (if (if (if (!(bp)) | |
386 | - | then !(bq) | |
387 | - | else false) | |
388 | - | then (0 >= aU) | |
389 | - | else false) | |
390 | - | then true | |
391 | - | else !(bt)) | |
392 | - | then true | |
393 | - | else (0 >= bv)) | |
394 | - | then throw("Art not for sale") | |
395 | - | else if (if (if (!(bp)) | |
396 | - | then bq | |
397 | - | else false) | |
398 | - | then (0 >= bv) | |
399 | - | else false) | |
400 | - | then throw("Max issuable") | |
401 | - | else $Tuple7(br, D, bs, bu, aU, aT, bv) | |
402 | - | } | |
373 | + | let bt = B(Y(bl, P)) | |
374 | + | let bu = z(X(bl, P)) | |
375 | + | let aU = if (bq) | |
376 | + | then y(("certification_fee_" + toBase58String(g))) | |
377 | + | else z(ad(bl, P)) | |
378 | + | let aT = if (bq) | |
379 | + | then toBase58String(g) | |
380 | + | else x(ae(bl, P)) | |
381 | + | let bv = z(V(bl, P)) | |
382 | + | if (if (if (!(bp)) | |
383 | + | then !(bq) | |
384 | + | else false) | |
385 | + | then if (if ((0 >= aU)) | |
386 | + | then true | |
387 | + | else !(bt)) | |
388 | + | then true | |
389 | + | else (0 >= bv) | |
390 | + | else false) | |
391 | + | then throw("Art not for sale") | |
392 | + | else if (if (if (!(bp)) | |
393 | + | then bq | |
394 | + | else false) | |
395 | + | then (0 >= bv) | |
396 | + | else false) | |
397 | + | then throw("Max issuable") | |
398 | + | else $Tuple7(br, D, bs, bu, aU, aT, bv) | |
403 | 399 | } | |
404 | 400 | } | |
405 | 401 |
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 | 365 | func bo (aI,bl,P,bp) = { | |
366 | 366 | let bq = (toBase58String(aI.caller.bytes) == bl) | |
367 | - | if (true) | |
368 | - | then throw(("Is caller? = " + toString(bq))) | |
367 | + | let br = z("total_nft_issued") | |
368 | + | let D = x(W(bl, P)) | |
369 | + | let bs = x(Q(bl, P)) | |
370 | + | if ((bs == "")) | |
371 | + | then throw("Art doesn't exist") | |
369 | 372 | else { | |
370 | - | let br = z("total_nft_issued") | |
371 | - | let D = x(W(bl, P)) | |
372 | - | let bs = x(Q(bl, P)) | |
373 | - | if ((bs == "")) | |
374 | - | then throw("Art doesn't exist") | |
375 | - | else { | |
376 | - | let bt = B(Y(bl, P)) | |
377 | - | let bu = z(X(bl, P)) | |
378 | - | let aU = if (bq) | |
379 | - | then y(("certification_fee_" + toBase58String(g))) | |
380 | - | else z(ad(bl, P)) | |
381 | - | let aT = if (bq) | |
382 | - | then toBase58String(g) | |
383 | - | else x(ae(bl, P)) | |
384 | - | let bv = z(V(bl, P)) | |
385 | - | if (if (if (if (if (!(bp)) | |
386 | - | then !(bq) | |
387 | - | else false) | |
388 | - | then (0 >= aU) | |
389 | - | else false) | |
390 | - | then true | |
391 | - | else !(bt)) | |
392 | - | then true | |
393 | - | else (0 >= bv)) | |
394 | - | then throw("Art not for sale") | |
395 | - | else if (if (if (!(bp)) | |
396 | - | then bq | |
397 | - | else false) | |
398 | - | then (0 >= bv) | |
399 | - | else false) | |
400 | - | then throw("Max issuable") | |
401 | - | else $Tuple7(br, D, bs, bu, aU, aT, bv) | |
402 | - | } | |
373 | + | let bt = B(Y(bl, P)) | |
374 | + | let bu = z(X(bl, P)) | |
375 | + | let aU = if (bq) | |
376 | + | then y(("certification_fee_" + toBase58String(g))) | |
377 | + | else z(ad(bl, P)) | |
378 | + | let aT = if (bq) | |
379 | + | then toBase58String(g) | |
380 | + | else x(ae(bl, P)) | |
381 | + | let bv = z(V(bl, P)) | |
382 | + | if (if (if (!(bp)) | |
383 | + | then !(bq) | |
384 | + | else false) | |
385 | + | then if (if ((0 >= aU)) | |
386 | + | then true | |
387 | + | else !(bt)) | |
388 | + | then true | |
389 | + | else (0 >= bv) | |
390 | + | else false) | |
391 | + | then throw("Art not for sale") | |
392 | + | else if (if (if (!(bp)) | |
393 | + | then bq | |
394 | + | else false) | |
395 | + | then (0 >= bv) | |
396 | + | else false) | |
397 | + | then throw("Max issuable") | |
398 | + | else $Tuple7(br, D, bs, bu, aU, aT, bv) | |
403 | 399 | } | |
404 | 400 | } | |
405 | 401 | ||
406 | 402 | ||
407 | 403 | func bw (aI,N,bl,P,bm,bn,aT,aU,bp) = { | |
408 | 404 | let aG = aw(bl) | |
409 | 405 | if (if (bp) | |
410 | 406 | then (aG != "") | |
411 | 407 | else false) | |
412 | 408 | then throw(aG) | |
413 | 409 | else { | |
414 | 410 | let be = ((((((("bid_" + P) + "_") + bl) + "_") + bm) + "_") + bn) | |
415 | 411 | let bx = if (bp) | |
416 | 412 | then bd(be) | |
417 | 413 | else aS(aI, aT, aU) | |
418 | 414 | let aK = bx._1 | |
419 | 415 | let aN = bx._2 | |
420 | 416 | $Tuple3(be, aK, aN) | |
421 | 417 | } | |
422 | 418 | } | |
423 | 419 | ||
424 | 420 | ||
425 | 421 | func by (bl,aT,aK,bu,bv) = { | |
426 | 422 | let bz = A(bl) | |
427 | 423 | let bA = if ((bz > height)) | |
428 | 424 | then 0 | |
429 | 425 | else if ((aT == toBase58String(g))) | |
430 | 426 | then l | |
431 | 427 | else m | |
432 | 428 | let bB = fraction(aK, bA, 100) | |
433 | 429 | let bC = (aK - bB) | |
434 | 430 | if ((bu == bv)) | |
435 | 431 | then throw("Art sold out") | |
436 | 432 | else { | |
437 | 433 | let bD = (bu + 1) | |
438 | 434 | $Tuple3(bB, bC, bD) | |
439 | 435 | } | |
440 | 436 | } | |
441 | 437 | ||
442 | 438 | ||
443 | 439 | func bE (bl,P,D,bs,bD,bv,br,N,bm,bn,aI) = { | |
444 | 440 | let bF = ((((((((((("Creator: " + bl) + ", | |
445 | 441 | ArtID: ") + P) + ", | |
446 | 442 | SignID: ") + D) + ", | |
447 | 443 | Artwork name: ") + bs) + ", | |
448 | 444 | Issue: ") + toString(bD)) + "/") + toString(bv)) | |
449 | 445 | let bG = Issue(("SA_" + toString((br + 1))), bF, 1, 0, false) | |
450 | 446 | let bH = calculateAssetId(bG) | |
451 | 447 | let bI = if ((bD == bv)) | |
452 | 448 | then false | |
453 | 449 | else true | |
454 | 450 | let bJ = if (if (if ((N == bl)) | |
455 | 451 | then (bm != "") | |
456 | 452 | else false) | |
457 | 453 | then (bn != "") | |
458 | 454 | else false) | |
459 | 455 | then addressFromStringValue(bm) | |
460 | 456 | else aI.caller | |
461 | 457 | $Tuple4(bG, bH, bI, bJ) | |
462 | 458 | } | |
463 | 459 | ||
464 | 460 | ||
465 | 461 | func bK (aN,be,bL) = { | |
466 | 462 | let bM = if (!(isDefined(aN))) | |
467 | 463 | then "WAVES" | |
468 | 464 | else toBase58String(value(aN)) | |
469 | 465 | let bf = x((be + "_OPEN")) | |
470 | 466 | let bN = DeleteEntry((be + "_OPEN")) | |
471 | 467 | let bO = StringEntry((be + "_CLOSED"), ((bf + "_") + toString(bL))) | |
472 | 468 | $Tuple3(bM, bN, bO) | |
473 | 469 | } | |
474 | 470 | ||
475 | 471 | ||
476 | 472 | func bP (aI,P,bl,bn,bm) = { | |
477 | 473 | let bQ = bj(aI) | |
478 | 474 | let bR = bQ._1 | |
479 | 475 | let N = bQ._2 | |
480 | 476 | let bL = bQ._3 | |
481 | 477 | let bp = bk(aI, bl, bm, bn) | |
482 | 478 | let bS = bo(aI, bl, P, bp) | |
483 | 479 | let br = bS._1 | |
484 | 480 | let D = bS._2 | |
485 | 481 | let bs = bS._3 | |
486 | 482 | let bu = bS._4 | |
487 | 483 | let aU = bS._5 | |
488 | 484 | let aT = bS._6 | |
489 | 485 | let bv = bS._7 | |
490 | 486 | let bT = bw(aI, N, bl, P, bm, bn, aT, aU, bp) | |
491 | 487 | let be = bT._1 | |
492 | 488 | let aK = bT._2 | |
493 | 489 | let aN = bT._3 | |
494 | 490 | let bU = by(bl, aT, aK, bu, bv) | |
495 | 491 | let bB = bU._1 | |
496 | 492 | let bC = bU._2 | |
497 | 493 | let bD = bU._3 | |
498 | 494 | let bV = bE(bl, P, D, bs, bD, bv, br, N, bm, bn, aI) | |
499 | 495 | let bG = bV._1 | |
500 | 496 | let bH = bV._2 | |
501 | 497 | let bI = bV._3 | |
502 | 498 | let bJ = bV._4 | |
503 | 499 | let bW = bK(aN, be, bL) | |
504 | 500 | let bM = bW._1 | |
505 | 501 | let bN = bW._2 | |
506 | 502 | let bO = bW._3 | |
507 | 503 | let bX = ((((((("art_sold_" + toString(bD)) + "_of_") + toString(bv)) + "_") + P) + "_") + bl) | |
508 | 504 | let bY = if (!(bp)) | |
509 | 505 | then ((((((((((N + "_") + toString(bL)) + "_") + bR) + "_") + toString(aU)) + "_") + aT) + "_") + toBase58String(bH)) | |
510 | 506 | else ((((((((((toString(bJ) + "_") + toString(bL)) + "_") + bR) + "_") + toString(aK)) + "_") + bM) + "_") + toBase58String(bH)) | |
511 | 507 | let bZ = StringEntry(bX, bY) | |
512 | 508 | let ca = [IntegerEntry(X(bl, P), bD), StringEntry(("nft_" + toBase58String(bH)), bX), IntegerEntry("total_nft_issued", (br + 1)), BooleanEntry(Y(bl, P), bI), bG, ScriptTransfer(Address(fromBase58String(bl)), bC, aN), ScriptTransfer(Address(fromBase58String(d)), bB, aN), ScriptTransfer(bJ, 1, bH)] | |
513 | 509 | if (bp) | |
514 | 510 | then [bZ, bO, bN] :: ca | |
515 | 511 | else bZ :: ca | |
516 | 512 | } | |
517 | 513 | ||
518 | 514 | ||
519 | 515 | @Callable(aI) | |
520 | 516 | func addArtwork (F,D,aC,aD,aE,cb,aF,an,ar,ao,as,ap) = { | |
521 | 517 | let cc = bj(aI) | |
522 | 518 | let P = cc._1 | |
523 | 519 | let N = cc._2 | |
524 | 520 | let bL = cc._3 | |
525 | 521 | if (!(K(F))) | |
526 | 522 | then throw("Hash should be 64 characters maximum") | |
527 | 523 | else { | |
528 | 524 | let cd = ay(ap, as) | |
529 | 525 | let aA = cd._1 | |
530 | 526 | let aB = cd._2 | |
531 | 527 | let ce = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF) | |
532 | 528 | if ((ce != "")) | |
533 | 529 | then throw("Something went wrong!") | |
534 | 530 | else { | |
535 | 531 | let cf = aL(aI) | |
536 | 532 | let aK = cf._1 | |
537 | 533 | let aN = cf._2 | |
538 | 534 | if (!(isDefined(aK))) | |
539 | 535 | then throw("Something went wrong") | |
540 | 536 | else { | |
541 | 537 | let cg = x(al(F, N)) | |
542 | 538 | if ((cg != "")) | |
543 | 539 | then throw("You already added it") | |
544 | 540 | else { | |
545 | 541 | let ch = x(ai(F)) | |
546 | 542 | if ((ch != "")) | |
547 | 543 | then throw("Hash already registered") | |
548 | 544 | else { | |
549 | 545 | let ci = C(D, N, F) | |
550 | 546 | if (!(ci)) | |
551 | 547 | then throw("Sign Certificate not found for this address.") | |
552 | 548 | else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bL), 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), cb), 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)] | |
553 | 549 | } | |
554 | 550 | } | |
555 | 551 | } | |
556 | 552 | } | |
557 | 553 | } | |
558 | 554 | } | |
559 | 555 | ||
560 | 556 | ||
561 | 557 | ||
562 | 558 | @Callable(aI) | |
563 | 559 | func updateArtwork (ah,aC,aD,aE,cb,aF,an,ar,ao,as,ap) = if (!(p)) | |
564 | 560 | then throw(q) | |
565 | 561 | else { | |
566 | 562 | let N = toBase58String(aI.caller.bytes) | |
567 | 563 | let cj = ay(ap, as) | |
568 | 564 | let aA = cj._1 | |
569 | 565 | let aB = cj._2 | |
570 | 566 | let ce = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF) | |
571 | 567 | if ((ce != "")) | |
572 | 568 | then throw("Something went wrong!") | |
573 | 569 | else { | |
574 | 570 | let cg = x(Q(N, ah)) | |
575 | 571 | if ((cg == "")) | |
576 | 572 | then throw("Entry not found") | |
577 | 573 | else { | |
578 | 574 | let ck = x(af(N, ah)) | |
579 | 575 | if ((ck == "ILLEGAL")) | |
580 | 576 | then throw("Cannot update ILLEGAL artwork") | |
581 | 577 | else if (!(aP(N, ah))) | |
582 | 578 | 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), cb)] | |
583 | 579 | else throw("Already minted") | |
584 | 580 | } | |
585 | 581 | } | |
586 | 582 | } | |
587 | 583 | ||
588 | 584 | ||
589 | 585 | ||
590 | 586 | @Callable(aI) | |
591 | 587 | func flagArtwork (P,cl,ck) = { | |
592 | 588 | let cm = bj(aI) | |
593 | 589 | let bR = cm._1 | |
594 | 590 | let N = cm._2 | |
595 | 591 | if (containsElement([j, k, toString(this)], N)) | |
596 | 592 | then if ((ck == "CONSENT")) | |
597 | 593 | then [StringEntry(af(cl, P), ck)] | |
598 | 594 | else if ((ck == "")) | |
599 | 595 | then [StringEntry(af(cl, P), ck)] | |
600 | 596 | else if ((ck == "CHANGE_REQUIRED")) | |
601 | 597 | then [StringEntry(af(cl, P), ck)] | |
602 | 598 | else if (if ((ck == "ILLEGAL")) | |
603 | 599 | then containsElement([j, toString(this)], N) | |
604 | 600 | else false) | |
605 | 601 | then [StringEntry(af(cl, P), ck), StringEntry(Q(cl, P), "ILLEGAL CONTENT"), StringEntry(R(cl, P), "ILLEGAL CONTENT"), StringEntry(S(cl, P), ""), StringEntry(U(cl, P), ""), StringEntry(aa(cl, P), "")] | |
606 | 602 | else throw(("Unknow status " + ck)) | |
607 | 603 | else throw("You are not allowed") | |
608 | 604 | } | |
609 | 605 | ||
610 | 606 | ||
611 | 607 | ||
612 | 608 | @Callable(aI) | |
613 | 609 | func deleteArtwork (P,cl) = { | |
614 | 610 | let cn = bj(aI) | |
615 | 611 | let bR = cn._1 | |
616 | 612 | let N = cn._2 | |
617 | 613 | let aQ = if (containsElement([j, k, toString(this)], N)) | |
618 | 614 | then cl | |
619 | 615 | else N | |
620 | 616 | let cg = valueOrErrorMessage(x(Q(aQ, P)), "No art matching for this address") | |
621 | 617 | if ((cg == "")) | |
622 | 618 | then throw("No art matching for this address") | |
623 | 619 | else { | |
624 | 620 | let F = x(ag(aQ, P)) | |
625 | 621 | if ((F == "")) | |
626 | 622 | then throw("No art hash matching for this address") | |
627 | 623 | else { | |
628 | 624 | let D = x(W(aQ, P)) | |
629 | 625 | if ((D == "")) | |
630 | 626 | then throw("No SIGN ID matching") | |
631 | 627 | else { | |
632 | 628 | let co = [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(cl, P)), DeleteEntry(ad(cl, P)), DeleteEntry(ae(cl, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aQ, D)), DeleteEntry(al(F, aQ))] | |
633 | 629 | if (!(aP(aQ, P))) | |
634 | 630 | then if (!(p)) | |
635 | 631 | then throw(q) | |
636 | 632 | else co | |
637 | 633 | else if (containsElement([j, toString(this)], N)) | |
638 | 634 | then co | |
639 | 635 | else throw("Art already minted, you cannot delete it") | |
640 | 636 | } | |
641 | 637 | } | |
642 | 638 | } | |
643 | 639 | } | |
644 | 640 | ||
645 | 641 | ||
646 | 642 | ||
647 | 643 | @Callable(aI) | |
648 | 644 | func sellArtwork (P,aY,cp,aN) = { | |
649 | 645 | let cq = bj(aI) | |
650 | 646 | let bR = cq._1 | |
651 | 647 | let N = cq._2 | |
652 | 648 | let bs = x(Q(N, P)) | |
653 | 649 | if ((bs == "")) | |
654 | 650 | then throw("This art doesn't match your account") | |
655 | 651 | else { | |
656 | 652 | let cr = x(U(N, P)) | |
657 | 653 | if ((size(split(cr, "/")[0]) != 59)) | |
658 | 654 | then throw("You cannot sell art with no export file") | |
659 | 655 | else if (!(aW(aN))) | |
660 | 656 | then throw("Something went wrong!") | |
661 | 657 | else if (!(aX(aN, aY))) | |
662 | 658 | then throw("Something went wrong!") | |
663 | 659 | else { | |
664 | 660 | let aG = aw(N) | |
665 | 661 | if ((aG != "")) | |
666 | 662 | then throw(aG) | |
667 | 663 | else { | |
668 | 664 | let bu = z(X(N, P)) | |
669 | 665 | let bv = z(V(N, P)) | |
670 | 666 | if ((cp > 10)) | |
671 | 667 | then throw("10 editions max per artwork") | |
672 | 668 | else if (if ((bu != 0)) | |
673 | 669 | then (bu == bv) | |
674 | 670 | else false) | |
675 | 671 | then throw("Max edition reached.") | |
676 | 672 | else if (if ((bu > 0)) | |
677 | 673 | then (bv != cp) | |
678 | 674 | else false) | |
679 | 675 | then throw("Cannot change maximum issuable anymore") | |
680 | 676 | else { | |
681 | 677 | let bI = if (if ((aY > 0)) | |
682 | 678 | then (cp > 0) | |
683 | 679 | else false) | |
684 | 680 | then true | |
685 | 681 | else false | |
686 | 682 | [BooleanEntry(Y(N, P), bI), IntegerEntry(ad(N, P), aY), IntegerEntry(V(N, P), cp), StringEntry(ae(N, P), aN)] | |
687 | 683 | } | |
688 | 684 | } | |
689 | 685 | } | |
690 | 686 | } | |
691 | 687 | } | |
692 | 688 | ||
693 | 689 | ||
694 | 690 | ||
695 | 691 | @Callable(aI) | |
696 | 692 | func buyArtwork (P,bl) = bP(aI, P, bl, "", "") | |
697 | 693 | ||
698 | 694 | ||
699 | 695 | ||
700 | 696 | @Callable(aI) | |
701 | 697 | func setBid (P,bl) = { | |
702 | 698 | let cs = bj(aI) | |
703 | 699 | let bR = cs._1 | |
704 | 700 | let N = cs._2 | |
705 | 701 | let bL = cs._3 | |
706 | 702 | let ct = aH(aI) | |
707 | 703 | let aJ = ct._1 | |
708 | 704 | let aK = ct._2 | |
709 | 705 | let aN = if (!(isDefined(aJ.assetId))) | |
710 | 706 | then "WAVES" | |
711 | 707 | else toBase58String(value(aJ.assetId)) | |
712 | 708 | if (!(aW(aN))) | |
713 | 709 | then throw("asset not accepted") | |
714 | 710 | else if (!(aX(aN, aK))) | |
715 | 711 | then throw("Wrong min sell") | |
716 | 712 | else { | |
717 | 713 | let bu = z(X(bl, P)) | |
718 | 714 | let bv = z(V(bl, P)) | |
719 | 715 | if ((0 >= bv)) | |
720 | 716 | then throw("No max edition set for this artwork") | |
721 | 717 | else if ((bu >= bv)) | |
722 | 718 | then throw("Sold out, you cannot bid") | |
723 | 719 | else [StringEntry((((((((("bid_" + P) + "_") + bl) + "_") + N) + "_") + bR) + "_OPEN"), ((((aN + "_") + toString(aK)) + "_") + toString(bL)))] | |
724 | 720 | } | |
725 | 721 | } | |
726 | 722 | ||
727 | 723 | ||
728 | 724 | ||
729 | 725 | @Callable(aI) | |
730 | 726 | func acceptBid (P,bl,bn,bm) = { | |
731 | 727 | let N = toBase58String(aI.caller.bytes) | |
732 | 728 | if ((N != bl)) | |
733 | 729 | then throw("You cannot do this action") | |
734 | 730 | else bP(aI, P, bl, bn, bm) | |
735 | 731 | } | |
736 | 732 | ||
737 | 733 | ||
738 | 734 | ||
739 | 735 | @Callable(aI) | |
740 | 736 | func cancelBid (P,bl,bn) = { | |
741 | 737 | let cu = bj(aI) | |
742 | 738 | let bR = cu._1 | |
743 | 739 | let N = cu._2 | |
744 | 740 | let bL = cu._3 | |
745 | 741 | let be = ((((((("bid_" + P) + "_") + bl) + "_") + N) + "_") + bn) | |
746 | 742 | let bf = x((be + "_OPEN")) | |
747 | 743 | if ((bf == "")) | |
748 | 744 | then throw("Bid not found") | |
749 | 745 | else { | |
750 | 746 | let bg = split(bf, "_") | |
751 | 747 | let aN = bc(bg[0]) | |
752 | 748 | let cv = "CANCELED" | |
753 | 749 | [DeleteEntry((be + "_OPEN")), StringEntry(((be + "_") + cv), ((bf + "_") + toString(bL))), ScriptTransfer(Address(fromBase58String(N)), parseIntValue(bg[1]), aN)] | |
754 | 750 | } | |
755 | 751 | } | |
756 | 752 | ||
757 | 753 | ||
758 | 754 | ||
759 | 755 | @Callable(aI) | |
760 | 756 | func deleteEntry (cw) = { | |
761 | 757 | let N = toString(addressFromPublicKey(aI.callerPublicKey)) | |
762 | 758 | if ((N == j)) | |
763 | 759 | then [DeleteEntry(cw)] | |
764 | 760 | else throw("no") | |
765 | 761 | } | |
766 | 762 | ||
767 | 763 |
github/deemru/w8io/169f3d6 96.19 ms ◑