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