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