tx · 9xjZQgs3MZJCLbrQjDmecnr45MD7XK9LausFTcn8JvEf 3N1Dhq5ZZyoojQisuTLusYjnGisqrxDwGLy: -0.01000000 Waves 2021.10.01 11:53 [1726918] smart account 3N1Dhq5ZZyoojQisuTLusYjnGisqrxDwGLy > SELF 0.00000000 Waves
{ "type": 13, "id": "9xjZQgs3MZJCLbrQjDmecnr45MD7XK9LausFTcn8JvEf", "fee": 1000000, "feeAssetId": null, "timestamp": 1633078406515, "version": 2, "chainId": 84, "sender": "3N1Dhq5ZZyoojQisuTLusYjnGisqrxDwGLy", "senderPublicKey": "4ogfEQE7KGDWQR7Vd5VThqBebZ47NxrMLmAApR3sFuXW", "proofs": [ "4PecE79e4XzMZPs3hYGriZDzmxYaZVK2aMezRaYGGNnLbDpHKZPBWuvmpSrwtZ7urLfX9JbzinLpK157FBpVZfPH" ], "script": "base64:AAIFAAAAAAAAAD8IAhIFCgMBCAgSCQoHCAgICAgICBIJCgcIAQEICAEBEgQKAggIEgMKAQgSBAoCCAgSBgoECAgICBIFCgMICAgAAABPAAAAAAh1bml0VGVzdAcAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXBaUWp6R29nbWlmY0VLZThtRGQ2cmliTDdueFQ5QUN5ZQAAAAALZmVlUmVjZWl2ZXICAAAAIzNONjV4THE4SmNDZWFFaVIxVEpRN2RCcVhCdkV5NkU0OFd6AAAAAAhjZXJ0RGFwcAIAAAAjM014Y1hyTmJNWktZYVNyaGNmZU1tMmhabkJlQ3UzeVJXc3cAAAAACHVzZXJEYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOOWNRZ1pGUEhIVnU4d3FzbjJEa1FGZWhnM2g4Q05pb29BAAAAAA13aGl0ZWxpc3REYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOOXhaWUdwek1GRFh2WHVjdG1VNnpWOHFTem0yWmZGMzFmAAAAAAtVU0ROQXNzZXRJZAE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VyBAAAAAthdWN0aW9uVHlwZQkBAAAADmdldFN0cmluZ0J5S2V5AAAAAQkBAAAADmtleUF1Y3Rpb25UeXBlAAAAAgUAAAAGaXNzdWVyBQAAAAVhcnRJZAMJAAAAAAAAAgUAAAALYXVjdGlvblR5cGUFAAAADGF1Y3Rpb25UeXBlMQkBAAAAF2FjY2VwdEJpZE5vblRyYWRpdGlvbmFsAAAABQUAAAABaQUAAAAFYXJ0SWQFAAAABmlzc3VlcgUAAAAFYmlkSWQFAAAACGJpZE93bmVyAwkAAAAAAAACBQAAAAthdWN0aW9uVHlwZQUAAAAMYXVjdGlvblR5cGUyCQEAAAAUYWNjZXB0QmlkVHJhZGl0aW9uYWwAAAAFBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAUAAAAIYmlkT3duZXIJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAFlVua25vd24gYXVjdGlvbiB0eXBlIDoFAAAAC2F1Y3Rpb25UeXBlAgAAABssIHBsZWFzZSBjb250YWN0IHRoZSBhZG1pbnMAAAABaQEAAAAJY2FuY2VsQmlkAAAAAwAAAAVhcnRJZAAAAAZpc3N1ZXIAAAAFYmlkSWQEAAAAC2F1Y3Rpb25UeXBlCQEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABCQEAAAAOa2V5QXVjdGlvblR5cGUAAAACBQAAAAZpc3N1ZXIFAAAABWFydElkAwkAAAAAAAACBQAAAAthdWN0aW9uVHlwZQUAAAAMYXVjdGlvblR5cGUxCQEAAAANY2FuY2VsQmlkSW1wbAAAAAQFAAAAAWkFAAAABWFydElkBQAAAAZpc3N1ZXIFAAAABWJpZElkCQEAAAAYY2FuY2VsQmlkSW1wbFRyYWRpdGlvbmFsAAAABAUAAAABaQUAAAAFYXJ0SWQFAAAABmlzc3VlcgUAAAAFYmlkSWQAAAAAnQcb8A==", "height": 1726918, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AgxMGxJrPVS93XeNZjFiNfmZJFygG6BxcQSD43KDSbpb Next: ZtZFVuMjBX1twxaAoxAqaQsyEw7n3ateC4Gaw4fvuGp 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 ((size(aq) != 46)) | |
176 | 176 | then throw("This doesn't seem a valid CID!") | |
177 | 177 | else if (!(ak(ar, 100))) | |
178 | 178 | then throw("100 Char. max name") | |
179 | 179 | else if (!(ak(as, 1000))) | |
180 | 180 | then throw("1000 Char. max description") | |
181 | 181 | else if ((size(split(at, ",")) > 5)) | |
182 | 182 | then throw("5 tags max.") | |
183 | 183 | else "" | |
184 | 184 | } | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func av (aw) = if ((size(aw.payments) == 0)) | |
188 | 188 | then throw("No payment attached") | |
189 | 189 | else { | |
190 | 190 | let ax = value(aw.payments[0]) | |
191 | 191 | let ay = value(ax.amount) | |
192 | 192 | $Tuple2(ax, ay) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func az (aw) = { | |
197 | 197 | let aA = av(aw) | |
198 | 198 | let ax = aA._1 | |
199 | 199 | let ay = aA._2 | |
200 | 200 | let aB = if (if (isDefined(ax.assetId)) | |
201 | 201 | then (ax.assetId == g) | |
202 | 202 | else false) | |
203 | 203 | then ax.assetId | |
204 | 204 | else throw("Only USDN token accepted as transaction fee") | |
205 | 205 | if ((ay != ah)) | |
206 | 206 | then throw(((("Payment amount should be " + toString(ah)) + " but is: ") + toString(ay))) | |
207 | 207 | else $Tuple2(ay, aB) | |
208 | 208 | } | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aC (aD,H) = { | |
212 | 212 | let aE = getInteger(this, T(aD, H)) | |
213 | 213 | if ($isInstanceOf(aE, "Int")) | |
214 | 214 | then { | |
215 | 215 | let aF = aE | |
216 | 216 | if ((aF != 0)) | |
217 | 217 | then true | |
218 | 218 | else false | |
219 | 219 | } | |
220 | 220 | else false | |
221 | 221 | } | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func aG (aw,aH,aI) = { | |
225 | 225 | let aJ = av(aw) | |
226 | 226 | let ax = aJ._1 | |
227 | 227 | let ay = aJ._2 | |
228 | 228 | let aB = if (!(isDefined(ax.assetId))) | |
229 | 229 | then throw("Wrong asset id") | |
230 | 230 | else if (if ((size(aH) > 0)) | |
231 | 231 | then (toBase58String(value(ax.assetId)) == aH) | |
232 | 232 | else false) | |
233 | 233 | then ax.assetId | |
234 | 234 | else throw("Wrong asset id") | |
235 | 235 | if (if ((aB == unit)) | |
236 | 236 | then (aH != "") | |
237 | 237 | else false) | |
238 | 238 | then throw("Wrong asset id") | |
239 | 239 | else if ((aI != ay)) | |
240 | 240 | then throw(((("Payment don't match " + toString(aI)) + " ") + toString(ay))) | |
241 | 241 | else $Tuple2(ay, aB) | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | func aK (aB) = if ((aB != toBase58String(g))) | |
246 | 246 | then throw("Only USDN accepted") | |
247 | 247 | else true | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func aL (aB,aM) = { | |
251 | 251 | let aN = if (a) | |
252 | 252 | then 1 | |
253 | 253 | else (ah * 2) | |
254 | 254 | if (if (if ((aB == toBase58String(g))) | |
255 | 255 | then (aN > aM) | |
256 | 256 | else false) | |
257 | 257 | then (aM != 0) | |
258 | 258 | else false) | |
259 | 259 | then throw(("Wrong minimum sell price " + toString(aN))) | |
260 | 260 | else true | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func aO (aB) = if ((aB == "WAVES")) | |
265 | 265 | then throw("Only USDN is accepted!") | |
266 | 266 | else fromBase58String(aB) | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func aP (aQ) = { | |
270 | 270 | let aR = v((aQ + "_OPEN")) | |
271 | 271 | if ((aR == "")) | |
272 | 272 | then throw("Bid not found") | |
273 | 273 | else { | |
274 | 274 | let aS = split(aR, "_") | |
275 | 275 | let aT = parseIntValue(aS[1]) | |
276 | 276 | let aU = aO(aS[0]) | |
277 | 277 | if ((0 >= aT)) | |
278 | 278 | then throw("Wrong amount") | |
279 | 279 | else $Tuple2(aT, aU) | |
280 | 280 | } | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func aV (aw) = if (!(l)) | |
285 | 285 | then throw(m) | |
286 | 286 | else $Tuple3(toBase58String(aw.transactionId), toBase58String(aw.caller.bytes), lastBlock.timestamp) | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | func aW (aw,aX,aY,P) = if (if (if ((toBase58String(aw.caller.bytes) == aX)) | |
290 | 290 | then (aY != "") | |
291 | 291 | else false) | |
292 | 292 | then (P != "") | |
293 | 293 | else false) | |
294 | 294 | then true | |
295 | 295 | else false | |
296 | 296 | ||
297 | 297 | ||
298 | 298 | func aZ (aw,aX,H,ba) = { | |
299 | 299 | let bb = (toBase58String(aw.caller.bytes) == aX) | |
300 | 300 | let bc = z("total_nft_issued") | |
301 | 301 | let bd = v(I(aX, H)) | |
302 | 302 | if ((bd == "")) | |
303 | 303 | then throw("Art doesn't exist") | |
304 | 304 | else { | |
305 | 305 | let be = B(W(aX, H)) | |
306 | 306 | let bf = z(T(aX, H)) | |
307 | 307 | let aI = valueOrElse(z(aa(aX, H)), (ah * 2)) | |
308 | 308 | let aH = if (bb) | |
309 | 309 | then toBase58String(g) | |
310 | 310 | else v(ab(aX, H)) | |
311 | 311 | let bg = z(L(aX, H)) | |
312 | 312 | if (if (if (!(ba)) | |
313 | 313 | then !(bb) | |
314 | 314 | else false) | |
315 | 315 | then if (if ((0 >= aI)) | |
316 | 316 | then true | |
317 | 317 | else !(be)) | |
318 | 318 | then true | |
319 | 319 | else (0 >= bg) | |
320 | 320 | else false) | |
321 | 321 | then throw("Art not for sale") | |
322 | 322 | else if (if (if (!(ba)) | |
323 | 323 | then bb | |
324 | 324 | else false) | |
325 | 325 | then (0 >= bg) | |
326 | 326 | else false) | |
327 | 327 | then throw("Max issuable not set") | |
328 | 328 | else $Tuple7(bc, bd, bf, aI, aH, bg, be) | |
329 | 329 | } | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func bh (aw,F,aX,H,aY,P,aH,aI,ba) = { | |
334 | 334 | let au = an(aX) | |
335 | 335 | if (if (ba) | |
336 | 336 | then (au != "") | |
337 | 337 | else false) | |
338 | 338 | then throw(au) | |
339 | 339 | else { | |
340 | 340 | let aQ = ((((((("bid_" + H) + "_") + aX) + "_") + aY) + "_") + P) | |
341 | 341 | let bi = if (ba) | |
342 | 342 | then aP(aQ) | |
343 | 343 | else aG(aw, aH, aI) | |
344 | 344 | let ay = bi._1 | |
345 | 345 | let aB = bi._2 | |
346 | 346 | $Tuple3(aQ, ay, aB) | |
347 | 347 | } | |
348 | 348 | } | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | func bj (aX,aB,ay,bf,bg) = { | |
352 | 352 | let bk = A(aX) | |
353 | 353 | let bl = if ((bk > height)) | |
354 | 354 | then 0 | |
355 | 355 | else if ((aB == g)) | |
356 | 356 | then i | |
357 | 357 | else throw("Only USDN is accepted!") | |
358 | 358 | let bm = fraction(ay, bl, 1000) | |
359 | 359 | let bn = (ay - bm) | |
360 | 360 | if ((bf == bg)) | |
361 | 361 | then throw("Art sold out") | |
362 | 362 | else { | |
363 | 363 | let bo = (bf + 1) | |
364 | 364 | $Tuple3(bm, bn, bo) | |
365 | 365 | } | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | func bp (aX,H,bd,bo,bg,bc,F,aY,P,aw,be) = { | |
370 | 370 | let bq = ((((((((("Creator: " + aX) + ",ArtID: ") + H) + ",Artwork name: ") + bd) + ",Issue: ") + toString(bo)) + "/") + toString(bg)) | |
371 | 371 | let br = if (if ((bo == bg)) | |
372 | 372 | then true | |
373 | 373 | else !(be)) | |
374 | 374 | then false | |
375 | 375 | else true | |
376 | 376 | let bs = if ((aY != "")) | |
377 | 377 | then addressFromStringValue(aY) | |
378 | 378 | else aw.caller | |
379 | 379 | $Tuple3(br, bs, bq) | |
380 | 380 | } | |
381 | 381 | ||
382 | 382 | ||
383 | 383 | func bt (aB,aQ,bu) = { | |
384 | 384 | let bv = if (!(isDefined(aB))) | |
385 | 385 | then throw("Only USDN is accepted") | |
386 | 386 | else toBase58String(value(aB)) | |
387 | 387 | let aR = v((aQ + "_OPEN")) | |
388 | 388 | let bw = DeleteEntry((aQ + "_OPEN")) | |
389 | 389 | let bx = StringEntry((aQ + "_CLOSED"), ((aR + "_") + toString(bu))) | |
390 | 390 | $Tuple3(bv, bw, bx) | |
391 | 391 | } | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | func by (aw,H,aX,P,aY,ba) = { | |
395 | 395 | let bz = aV(aw) | |
396 | 396 | let bA = bz._1 | |
397 | 397 | let F = bz._2 | |
398 | 398 | let bu = bz._3 | |
399 | 399 | let bB = aZ(aw, aX, H, ba) | |
400 | 400 | let bc = bB._1 | |
401 | 401 | let bd = bB._2 | |
402 | 402 | let bf = bB._3 | |
403 | 403 | let aI = bB._4 | |
404 | 404 | let aH = bB._5 | |
405 | 405 | let bg = bB._6 | |
406 | 406 | let be = bB._7 | |
407 | 407 | let aR = bh(aw, F, aX, H, aY, P, aH, aI, ba) | |
408 | 408 | let aQ = aR._1 | |
409 | 409 | let ay = aR._2 | |
410 | 410 | let aB = aR._3 | |
411 | 411 | let bC = bj(aX, value(aB), ay, bf, bg) | |
412 | 412 | let bm = bC._1 | |
413 | 413 | let bn = bC._2 | |
414 | 414 | let bo = bC._3 | |
415 | 415 | let bD = bp(aX, H, bd, bo, bg, bc, F, aY, P, aw, be) | |
416 | 416 | let br = bD._1 | |
417 | 417 | let bs = bD._2 | |
418 | 418 | let bq = bD._3 | |
419 | 419 | let bE = invoke(this, "mintNft", [bc, bq, toString(bs)], nil) | |
420 | 420 | if ((bE == bE)) | |
421 | 421 | then { | |
422 | 422 | let bF = { | |
423 | 423 | let aE = bE | |
424 | 424 | if ($isInstanceOf(aE, "String")) | |
425 | 425 | then { | |
426 | 426 | let bG = aE | |
427 | 427 | bG | |
428 | 428 | } | |
429 | 429 | else throw("Incorrect invoke result") | |
430 | 430 | } | |
431 | 431 | let bH = bt(aB, aQ, bu) | |
432 | 432 | let bv = bH._1 | |
433 | 433 | let bw = bH._2 | |
434 | 434 | let bx = bH._3 | |
435 | 435 | let bI = ((((((("art_sold_" + toString(bo)) + "_of_") + toString(bg)) + "_") + H) + "_") + aX) | |
436 | 436 | let bJ = if (!(ba)) | |
437 | 437 | then ((((((((((F + "_") + toString(bu)) + "_") + bA) + "_") + toString(aI)) + "_") + aH) + "_") + bF) | |
438 | 438 | else ((((((((((toString(bs) + "_") + toString(bu)) + "_") + bA) + "_") + toString(ay)) + "_") + bv) + "_") + bF) | |
439 | 439 | let bK = StringEntry(bI, bJ) | |
440 | 440 | 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)] | |
441 | 441 | let bM = invoke(addressFromStringValue(d), "createCert", [toString(bs), bF, aX], nil) | |
442 | 442 | if ((bM == bM)) | |
443 | 443 | then if (ba) | |
444 | 444 | then (((bL :+ bK) :+ bx) :+ bw) | |
445 | 445 | else bK :: bL | |
446 | 446 | else throw("Strict value is not equal to itself.") | |
447 | 447 | } | |
448 | 448 | else throw("Strict value is not equal to itself.") | |
449 | 449 | } | |
450 | 450 | ||
451 | 451 | ||
452 | 452 | func bN (aw,H,aX) = { | |
453 | 453 | let bO = aV(aw) | |
454 | 454 | let bA = bO._1 | |
455 | 455 | let F = bO._2 | |
456 | 456 | let bu = bO._3 | |
457 | 457 | let bP = av(aw) | |
458 | 458 | let ax = bP._1 | |
459 | 459 | let ay = bP._2 | |
460 | 460 | let aB = if (!(isDefined(ax.assetId))) | |
461 | 461 | then throw("Only USDN is accepted!") | |
462 | 462 | else toBase58String(value(ax.assetId)) | |
463 | 463 | let bQ = z(("current_bidamount_" + H)) | |
464 | 464 | if (!(aK(aB))) | |
465 | 465 | then throw("asset not accepted") | |
466 | 466 | else if (!(aL(aB, ay))) | |
467 | 467 | then throw("Wrong min sell") | |
468 | 468 | else { | |
469 | 469 | let bf = z(T(aX, H)) | |
470 | 470 | let bg = z(L(aX, H)) | |
471 | 471 | if ((0 >= bg)) | |
472 | 472 | then throw("No max edition set for this artwork") | |
473 | 473 | else if ((bf >= bg)) | |
474 | 474 | then throw("Sold out, you cannot bid") | |
475 | 475 | else [StringEntry((((((((("bid_" + H) + "_") + aX) + "_") + F) + "_") + bA) + "_OPEN"), ((((aB + "_") + toString(ay)) + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + H), (bQ + 1))] | |
476 | 476 | } | |
477 | 477 | } | |
478 | 478 | ||
479 | 479 | ||
480 | 480 | func bR (aw,H,aX) = { | |
481 | 481 | let bS = z(R(aX, H)) | |
482 | 482 | let bT = aj(H) | |
483 | 483 | if ((height > bS)) | |
484 | 484 | then throw("This auction is finished already!") | |
485 | 485 | else { | |
486 | 486 | let bU = aV(aw) | |
487 | 487 | let bA = bU._1 | |
488 | 488 | let F = bU._2 | |
489 | 489 | let bu = bU._3 | |
490 | 490 | let bV = av(aw) | |
491 | 491 | let ax = bV._1 | |
492 | 492 | let ay = bV._2 | |
493 | 493 | if ((bT >= ay)) | |
494 | 494 | then throw(("Please place a bid higher then: " + toString(bT))) | |
495 | 495 | else { | |
496 | 496 | let aB = if (!(isDefined(ax.assetId))) | |
497 | 497 | then throw("Only USDN is accepted!") | |
498 | 498 | else toBase58String(value(ax.assetId)) | |
499 | 499 | let bQ = z(("current_bidamount_" + H)) | |
500 | 500 | if (!(aK(aB))) | |
501 | 501 | then throw("asset not accepted") | |
502 | 502 | else if (!(aL(aB, ay))) | |
503 | 503 | then throw("Wrong min sell") | |
504 | 504 | else { | |
505 | 505 | let bf = z(T(aX, H)) | |
506 | 506 | let bg = z(L(aX, H)) | |
507 | 507 | if ((0 >= bg)) | |
508 | 508 | then throw("No max edition set for this artwork") | |
509 | 509 | else if ((bf >= bg)) | |
510 | 510 | then throw("Sold out, you cannot bid") | |
511 | 511 | 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)] | |
512 | 512 | } | |
513 | 513 | } | |
514 | 514 | } | |
515 | 515 | } | |
516 | 516 | ||
517 | 517 | ||
518 | 518 | func bW (aw,H,aX,P,aY) = { | |
519 | 519 | let F = toBase58String(aw.caller.bytes) | |
520 | 520 | if ((F != aX)) | |
521 | 521 | then throw("You cannot do this action") | |
522 | 522 | else by(aw, H, aX, P, aY, true) | |
523 | 523 | } | |
524 | 524 | ||
525 | 525 | ||
526 | 526 | func bX (H,aX) = { | |
527 | 527 | let bf = z(T(aX, H)) | |
528 | 528 | let bg = z(L(aX, H)) | |
529 | 529 | let bY = z(R(aX, H)) | |
530 | 530 | let bZ = z(Q(aX, H)) | |
531 | 531 | let bS = (bZ + height) | |
532 | 532 | if ((height > bY)) | |
533 | 533 | then if ((bf == bg)) | |
534 | 534 | then throw("Can't restart auction, max amount sold") | |
535 | 535 | else [IntegerEntry(R(aX, H), bS), DeleteEntry(N(H))] | |
536 | 536 | else throw("Previous auction isn't completed yet") | |
537 | 537 | } | |
538 | 538 | ||
539 | 539 | ||
540 | 540 | func ca (aw,H,aX,P,aY) = { | |
541 | 541 | let bS = z(R(aX, H)) | |
542 | 542 | let cb = v(N(H)) | |
543 | 543 | if ((height > bS)) | |
544 | 544 | then if ((P == cb)) | |
545 | 545 | then { | |
546 | 546 | let cc = by(aw, H, aX, P, aY, true) | |
547 | 547 | let cd = bX(H, aX) | |
548 | 548 | (cd ++ cc) | |
549 | 549 | } | |
550 | 550 | else throw("This is not the winning bid!") | |
551 | 551 | else throw("This auction is not yet finished!") | |
552 | 552 | } | |
553 | 553 | ||
554 | 554 | ||
555 | 555 | func ce (aw,H,aX,P) = { | |
556 | 556 | let cf = aV(aw) | |
557 | 557 | let bA = cf._1 | |
558 | 558 | let F = cf._2 | |
559 | 559 | let bu = cf._3 | |
560 | 560 | let bQ = z(("current_bidamount_" + H)) | |
561 | 561 | let aQ = ((((((("bid_" + H) + "_") + aX) + "_") + F) + "_") + P) | |
562 | 562 | let aR = w((aQ + "_OPEN"), "Bid not found") | |
563 | 563 | let aS = split(aR, "_") | |
564 | 564 | let aB = aO(aS[0]) | |
565 | 565 | let cg = "CANCELED" | |
566 | 566 | [DeleteEntry((aQ + "_OPEN")), StringEntry(((aQ + "_") + cg), ((aR + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + H), (bQ - 1)), ScriptTransfer(Address(fromBase58String(F)), parseIntValue(aS[1]), aB)] | |
567 | 567 | } | |
568 | 568 | ||
569 | 569 | ||
570 | 570 | func ch (aw,H,aX,P) = { | |
571 | 571 | let cf = aV(aw) | |
572 | 572 | let bA = cf._1 | |
573 | 573 | let F = cf._2 | |
574 | 574 | let bu = cf._3 | |
575 | 575 | let bQ = z(("current_bidamount_" + H)) | |
576 | 576 | let aQ = ((((((("bid_" + H) + "_") + aX) + "_") + F) + "_") + P) | |
577 | 577 | let aR = w((aQ + "_OPEN"), "Bid not found") | |
578 | 578 | let aS = split(aR, "_") | |
579 | 579 | let aB = aO(aS[0]) | |
580 | 580 | let cg = "CANCELED" | |
581 | 581 | let aT = parseIntValue(aS[1]) | |
582 | 582 | let cb = v(N(H)) | |
583 | 583 | if ((P == cb)) | |
584 | 584 | then throw("You can't cancel the highest bid!") | |
585 | 585 | else [DeleteEntry((aQ + "_OPEN")), StringEntry(((aQ + "_") + cg), ((aR + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + H), (bQ - 1)), ScriptTransfer(Address(fromBase58String(F)), aT, aB)] | |
586 | 586 | } | |
587 | 587 | ||
588 | 588 | ||
589 | 589 | @Callable(aw) | |
590 | 590 | func mintNft (bc,bq,bs) = if ((aw.caller == this)) | |
591 | 591 | then { | |
592 | 592 | let ci = Address(fromBase58String(bs)) | |
593 | 593 | let cj = Issue(("SCONEX_" + toString((bc + 1))), bq, 1, 0, false) | |
594 | 594 | let bF = calculateAssetId(cj) | |
595 | 595 | $Tuple2([cj, ScriptTransfer(ci, 1, bF)], toBase58String(bF)) | |
596 | 596 | } | |
597 | 597 | else throw("Only the dapp can mintNFT's") | |
598 | 598 | ||
599 | 599 | ||
600 | 600 | ||
601 | 601 | @Callable(aw) | |
602 | 602 | func addArtwork (af,ar,as,at,ck,aq,cl) = { | |
603 | 603 | let cm = aV(aw) | |
604 | 604 | let H = cm._1 | |
605 | 605 | let F = cm._2 | |
606 | 606 | let bu = cm._3 | |
607 | 607 | let cn = ap(F, aq, ar, as, at) | |
608 | 608 | if ((cn != "")) | |
609 | 609 | then throw("Something went wrong!") | |
610 | 610 | else { | |
611 | 611 | let co = az(aw) | |
612 | 612 | let ay = co._1 | |
613 | 613 | let aB = co._2 | |
614 | 614 | if (!(isDefined(ay))) | |
615 | 615 | then throw("Something went wrong") | |
616 | 616 | else { | |
617 | 617 | let cp = v(ag(af, F)) | |
618 | 618 | if ((cp != "")) | |
619 | 619 | then throw("You already added it") | |
620 | 620 | else { | |
621 | 621 | let cq = v(ae(af)) | |
622 | 622 | if ((cq != "")) | |
623 | 623 | then throw("Hash already registered") | |
624 | 624 | 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)] | |
625 | 625 | } | |
626 | 626 | } | |
627 | 627 | } | |
628 | 628 | } | |
629 | 629 | ||
630 | 630 | ||
631 | 631 | ||
632 | 632 | @Callable(aw) | |
633 | 633 | func sellArtwork (H,aM,cr,aB,cs,ct,bZ) = { | |
634 | 634 | let cu = aV(aw) | |
635 | 635 | let bA = cu._1 | |
636 | 636 | let F = cu._2 | |
637 | 637 | let bd = v(I(F, H)) | |
638 | 638 | if (!(containsElement([r, s], cs))) | |
639 | 639 | then throw("We dont know this auction type") | |
640 | 640 | else if ((bd == "")) | |
641 | 641 | then throw("This art doesn't match your account") | |
642 | 642 | else { | |
643 | 643 | let bQ = z(("current_bidamount_" + H)) | |
644 | 644 | if (!(aK(aB))) | |
645 | 645 | then throw("Something went wrong!") | |
646 | 646 | else if (!(aL(aB, aM))) | |
647 | 647 | then throw("Something went wrong!") | |
648 | 648 | else { | |
649 | 649 | let au = an(F) | |
650 | 650 | if ((au != "")) | |
651 | 651 | then throw(au) | |
652 | 652 | else { | |
653 | 653 | let bf = z(T(F, H)) | |
654 | 654 | let bg = z(L(F, H)) | |
655 | 655 | if ((cr > 10)) | |
656 | 656 | then throw("10 editions max per artwork") | |
657 | 657 | else if (if ((bf != 0)) | |
658 | 658 | then (bf == bg) | |
659 | 659 | else false) | |
660 | 660 | then throw("Max edition reached.") | |
661 | 661 | else if (if ((bf > 0)) | |
662 | 662 | then (bg != cr) | |
663 | 663 | else false) | |
664 | 664 | then throw("Cannot change maximum issuable anymore") | |
665 | 665 | else if (if ((bQ > 0)) | |
666 | 666 | then (bg != cr) | |
667 | 667 | else false) | |
668 | 668 | then throw("Cannot change maximum issuable with active orders") | |
669 | 669 | else { | |
670 | 670 | let br = if (if ((aM > 0)) | |
671 | 671 | then (cr > 0) | |
672 | 672 | else false) | |
673 | 673 | then true | |
674 | 674 | else false | |
675 | 675 | let bS = (bZ + height) | |
676 | 676 | [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)] | |
677 | 677 | } | |
678 | 678 | } | |
679 | 679 | } | |
680 | 680 | } | |
681 | 681 | } | |
682 | 682 | ||
683 | 683 | ||
684 | 684 | ||
685 | 685 | @Callable(aw) | |
686 | 686 | func buyArtwork (H,aX) = by(aw, H, aX, "", "", false) | |
687 | 687 | ||
688 | 688 | ||
689 | 689 | ||
690 | 690 | @Callable(aw) | |
691 | 691 | func deleteEntry (cv) = { | |
692 | 692 | let F = toString(addressFromPublicKey(aw.callerPublicKey)) | |
693 | 693 | if (containsElement(h, F)) | |
694 | 694 | then [DeleteEntry(cv)] | |
695 | 695 | else throw("no") | |
696 | 696 | } | |
697 | 697 | ||
698 | 698 | ||
699 | 699 | ||
700 | 700 | @Callable(aw) | |
701 | 701 | func setBid (H,aX) = { | |
702 | 702 | let cs = v(S(aX, H)) | |
703 | 703 | if ((cs == r)) | |
704 | 704 | then bN(aw, H, aX) | |
705 | 705 | else if ((cs == s)) | |
706 | 706 | then bR(aw, H, aX) | |
707 | 707 | else throw((("Unknown auction type :" + cs) + ", please contact the admins")) | |
708 | 708 | } | |
709 | 709 | ||
710 | 710 | ||
711 | 711 | ||
712 | 712 | @Callable(aw) | |
713 | 713 | func acceptBid (H,aX,P,aY) = { | |
714 | 714 | let cs = v(S(aX, H)) | |
715 | 715 | if ((cs == r)) | |
716 | 716 | then bW(aw, H, aX, P, aY) | |
717 | 717 | else if ((cs == s)) | |
718 | 718 | then ca(aw, H, aX, P, aY) | |
719 | 719 | else throw((("Unknown auction type :" + cs) + ", please contact the admins")) | |
720 | 720 | } | |
721 | 721 | ||
722 | 722 | ||
723 | 723 | ||
724 | 724 | @Callable(aw) | |
725 | 725 | func cancelBid (H,aX,P) = { | |
726 | 726 | let cs = v(S(aX, H)) | |
727 | 727 | if ((cs == r)) | |
728 | 728 | then ce(aw, H, aX, P) | |
729 | 729 | else ch(aw, H, aX, P) | |
730 | 730 | } | |
731 | 731 | ||
732 | 732 |
github/deemru/w8io/026f985 62.84 ms ◑