tx · y7M51j4x6jCigSSUbsTWRQYBsfqaeqbuw345rUvMFaM

3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY:  -0.01900000 Waves

2023.03.24 06:32 [2503551] smart account 3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY > SELF 0.00000000 Waves

{ "type": 13, "id": "y7M51j4x6jCigSSUbsTWRQYBsfqaeqbuw345rUvMFaM", "fee": 1900000, "feeAssetId": null, "timestamp": 1679628733555, "version": 2, "chainId": 84, "sender": "3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY", "senderPublicKey": "J9DCtJJxJBWZdtDR12BA1U94Q3cZzMi4R6k5hYkAzmzC", "proofs": [ "5eApY9H5Vi1UeBy73UGpRegjBknQ2cXhMG8V9nnuKpytSZcJCfraWGgqi1wrP4mszeXr9E3YETNsxvvoUMMjorQX" ], "script": "base64:BgL1FAgCEgQKAggIEhAKDggICAgICAgICAgICAEIEg8KDQgICAgICAgICAgIAQgSBgoECAgICBIECgIICBIICgYIAQEIAQgSBAoCCAgSBAoCCAgSBwoFCAgICAgSBgoECAgICCIOZ2V0U3RyaW5nQnlLZXkiA2tleSIIdW5pdFRlc3QiCW9yYWNsZUZlZSIIc2lnbkRhcHAiC2ZlZVJlY2VpdmVyIgh1c2VyRGFwcCINd2hpdGVsaXN0RGFwcCILc2lnbkFzc2V0SWQiC3VzZG5Bc3NldElkIgt1c2R0QXNzZXRJZCIMd2F2ZXNBc3NldElkIgVjaHJpcyIZZ2V0SW50ZWdlckJ5S2V5RnJvbU9yYWNsZSIPZ2V0SW50ZWdlckJ5S2V5Ig5jaGVja1doaXRlbGlzdCIPZ2V0Qm9vbGVhbkJ5S2V5IgdzaWduQ3V0Igt1c2RuV2F2ZUN1dCIOZGVmYXVsdExpY2VuY2UiEmRlZmF1bHRIYXNoTGljZW5jZSILZGFwcFJ1bm5pbmciDm1haW50ZW5hbmNlTVNHIg11c2VyU3VzcGVuZGVkIgt1c2VyUmVtb3ZlZCIQdXNlclVucmVnaXN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AUEdGhpcwcJAAACCAUCY1cDZmVlAKDCHgcJAAACCAUCY1cKZmVlQXNzZXRJZAUEdW5pdAcJAMgTAwgFAmNVCWJvZHlCeXRlcwkAkQMCCAUCY1UGcHJvb2ZzAAAJANkEAQkBAmNtAQkAkQMCCAUCY1cEYXJncwAECQD0AwMIBQJjVQlib2R5Qnl0ZXMJAJEDAggFAmNVBnByb29mcwAACAUCY1UPc2VuZGVyUHVibGljS2V5CQD0AwMIBQJjVQlib2R5Qnl0ZXMJAJEDAggFAmNVBnByb29mcwAACAUCY1UPc2VuZGVyUHVibGljS2V5gFuQWA==", "height": 2503551, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EHxU475ATs1h4vS3zrgBNuypCZtPUEn243Hne1irszuo Next: HdzCh7p6MMMtjpUoAdXxF5t1mAwDedJcGYXEMETW26x3 Diff:
OldNewDifferences
397397 then invoke(h, "useFreeTx", [toString(addressFromPublicKey(fromBase58String(bs)))], nil)
398398 else unit
399399 if ((bu == bu))
400- then $Tuple4(toBase58String(aR.transactionId), N, lastBlock.timestamp, (bt > 0))
400+ then if (true)
401+ then throw(N)
402+ else $Tuple4(toBase58String(aR.transactionId), N, lastBlock.timestamp, (bt > 0))
401403 else throw("Strict value is not equal to itself.")
402404 }
403405
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = valueOrElse(getString(this, b), "")
55
66
77 let c = false
88
99 let d = value(addressFromString(a("conf_oracle_fee")))
1010
1111 let e = value(addressFromString(a("conf_signweb_dapp")))
1212
1313 let f = a("conf_fee_receiver")
1414
1515 let g = if (c)
1616 then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
1717 else value(addressFromString(a("conf_users_dapp")))
1818
1919 let h = value(addressFromString(a("conf_whitelist_dapp")))
2020
2121 let i = fromBase58String(a("conf_accepted_asset_SIGN"))
2222
2323 let j = fromBase58String(a("conf_accepted_asset_USDN"))
2424
2525 let k = fromBase58String(a("conf_accepted_asset_USDT"))
2626
2727 let l = base58''
2828
2929 let m = a("conf_admin_1")
3030
3131 func n (b) = valueOrErrorMessage(getInteger(d, b), "Integer undefine or 0 in oracle")
3232
3333
3434 func o (b) = valueOrElse(getInteger(this, b), 0)
3535
3636
3737 func p (b) = valueOrElse(getInteger(h, b), 0)
3838
3939
4040 func q (b) = valueOrElse(getBoolean(this, b), false)
4141
4242
4343 let r = 7
4444
4545 let s = 10
4646
4747 let t = a("conf_default_licence")
4848
4949 let u = a("conf_default_licence_hash")
5050
5151 let v = valueOrElse(getBoolean(g, "conf_dapp_is_running"), true)
5252
5353 let w = valueOrElse(getString(g, "conf_maintenance_msg"), "")
5454
5555 let x = "SUSPENDED"
5656
5757 let y = "REMOVED"
5858
5959 let z = "UNREGISTERED"
6060
6161 let A = "ALLOWED"
6262
6363 let B = n(("certification_fee_" + toBase58String(i)))
6464
6565 func C (D,E,F) = {
6666 let G = getString(e, ((("data_fc_" + D) + "_") + E))
6767 if ($isInstanceOf(G, "String"))
6868 then {
6969 let H = G
7070 if (contains(H, F))
7171 then true
7272 else false
7373 }
7474 else false
7575 }
7676
7777
7878 func I (J) = if (contains(J, "/"))
7979 then if (if ((76 > size(J)))
8080 then (size(split(J, "/")[0]) == 59)
8181 else false)
8282 then (16 > size(split(J, "/")[1]))
8383 else false
8484 else false
8585
8686
8787 func K (L) = (size(L) == 64)
8888
8989
9090 func M (N) = ("user_status_" + N)
9191
9292
9393 func O (N,P) = ((("art_date_" + P) + "_") + N)
9494
9595
9696 func Q (N,P) = ((("art_name_" + P) + "_") + N)
9797
9898
9999 func R (N,P) = ((("art_desc_" + P) + "_") + N)
100100
101101
102102 func S (N,P) = ((("art_display_cid_" + P) + "_") + N)
103103
104104
105105 func T (N,P) = ((("art_export_hash_" + P) + "_") + N)
106106
107107
108108 func U (N,P) = ((("art_export_cid_" + P) + "_") + N)
109109
110110
111111 func V (N,P) = ((("art_maxmint_" + P) + "_") + N)
112112
113113
114114 func W (N,P) = ((("art_signid_" + P) + "_") + N)
115115
116116
117117 func X (N,P) = ((("art_issued_" + P) + "_") + N)
118118
119119
120120 func Y (N,P) = ((("art_onsale_" + P) + "_") + N)
121121
122122
123123 func Z (N,P) = ((("art_licence_hash_" + P) + "_") + N)
124124
125125
126126 func aa (N,P) = ((("art_licence_cid_" + P) + "_") + N)
127127
128128
129129 func ab (N,P) = ((("art_tags_" + P) + "_") + N)
130130
131131
132132 func ac (N,P) = ((("art_type_" + P) + "_") + N)
133133
134134
135135 func ad (N,P) = ((("art_note_" + P) + "_") + N)
136136
137137
138138 func ae (N,P) = ((("art_crawler_cid_" + P) + "_") + N)
139139
140140
141141 func af (N,P) = ((("art_royalties_" + P) + "_") + N)
142142
143143
144144 func ag (N,P) = ((("art_price_" + P) + "_") + N)
145145
146146
147147 func ah (N,P) = ((("art_endsale_" + P) + "_") + N)
148148
149149
150150 func ai (N,P) = ((("art_assetAccepted_" + P) + "_") + N)
151151
152152
153153 func aj (N,P) = ((("art_flag_" + P) + "_") + N)
154154
155155
156156 func ak (al) = ("artist_agent_" + al)
157157
158158
159159 func am (al) = ("artist_agent_primary_" + al)
160160
161161
162162 func an (al) = ("artist_public_agent_" + al)
163163
164164
165165 func ao (al) = ("artist_public_agent_primary_" + al)
166166
167167
168168 func ap (N,aq) = ((("get_hashbytxidaddr_" + aq) + "_") + N)
169169
170170
171171 func ar (F) = ("get_owner_by_hash_" + F)
172172
173173
174174 func as (N,at) = ((("get_artidbysignid_" + at) + "_") + N)
175175
176176
177177 func au (F,N) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((F + N)))))
178178
179179
180180 func av (aw,ax,ay) = if (!(I(aw)))
181181 then throw("Wrong Display CID")
182182 else if (!(I(ax)))
183183 then throw("Wrong Export CID")
184184 else if (if ((ay != ""))
185185 then !(I(ay))
186186 else false)
187187 then throw("Wrong Licence CID")
188188 else true
189189
190190
191191 func az (aA,aB) = if (!(K(aA)))
192192 then throw("Export Hash 64 char. max")
193193 else if (!(K(aB)))
194194 then throw("Licence Hash 64 char. max")
195195 else true
196196
197197
198198 func aC (aD,aE) = if ((size(aD) == 0))
199199 then throw("Field cannot be is empty")
200200 else if ((size(aD) > aE))
201201 then throw((aD + " is too long"))
202202 else true
203203
204204
205205 func aF (N) = {
206206 let aG = valueOrElse(getString(g, M(N)), z)
207207 if (if ((aG == z))
208208 then true
209209 else (aG == A))
210210 then "Register this account first with \"Account\" tab"
211211 else if ((aG == x))
212212 then "Account suspended"
213213 else if ((aG == y))
214214 then "Account removed"
215215 else ""
216216 }
217217
218218
219219 func aH (ay,aB) = {
220220 let J = if ((size(ay) == 0))
221221 then t
222222 else ay
223223 let L = if ((size(aB) == 0))
224224 then u
225225 else aB
226226 $Tuple2(J, L)
227227 }
228228
229229
230230 func aI (N,aw,ax,aJ,aA,aK,aL,aM,aN,aO) = {
231231 let aP = aF(N)
232232 if ((aP != ""))
233233 then throw(aP)
234234 else if ((size(aw) == 0))
235235 then throw("Display CID cannot be empty")
236236 else if (!(av(aw, ax, aJ)))
237237 then throw("Problem with CID")
238238 else if (!(az(aA, aK)))
239239 then throw("Problem with Hashes")
240240 else if (!(aC(aL, 100)))
241241 then throw("100 Char. max name")
242242 else if (!(aC(aM, 1000)))
243243 then throw("1000 Char. max description")
244244 else if (if ((0 > aO))
245245 then true
246246 else (aO > 1000))
247247 then throw("Royalties cannot be less than 0% or higher than 10%")
248248 else if ((size(split(aN, ",")) > 5))
249249 then throw("5 tags max.")
250250 else ""
251251 }
252252
253253
254254 func aQ (aR) = if ((size(aR.payments) == 0))
255255 then throw("No payment attached")
256256 else {
257257 let aS = value(aR.payments[0])
258258 let aT = value(aS.amount)
259259 $Tuple2(aS, aT)
260260 }
261261
262262
263263 func aU (aR) = {
264264 let aV = aQ(aR)
265265 let aS = aV._1
266266 let aT = aV._2
267267 let aW = if (if (isDefined(aS.assetId))
268268 then (aS.assetId == i)
269269 else false)
270270 then aS.assetId
271271 else throw("Only SIGN token accepted as transaction fee")
272272 if ((aT != B))
273273 then throw(("Payment amount should be " + toString(B)))
274274 else $Tuple2(aT, aW)
275275 }
276276
277277
278278 func aX (aY,P) = {
279279 let G = getInteger(this, X(aY, P))
280280 if ($isInstanceOf(G, "Int"))
281281 then {
282282 let aZ = G
283283 if ((aZ != 0))
284284 then true
285285 else false
286286 }
287287 else false
288288 }
289289
290290
291291 func ba (aR,bb,bc) = {
292292 let bd = aQ(aR)
293293 let aS = bd._1
294294 let aT = bd._2
295295 let aW = if (!(isDefined(aS.assetId)))
296296 then unit
297297 else if (if ((size(bb) > 0))
298298 then (toBase58String(value(aS.assetId)) == bb)
299299 else false)
300300 then aS.assetId
301301 else throw("Wrong asset id")
302302 if (if ((aW == unit))
303303 then (bb != "")
304304 else false)
305305 then throw("Wrong asset id")
306306 else if ((bc != aT))
307307 then throw("Payment don't match")
308308 else $Tuple2(aT, aW)
309309 }
310310
311311
312312 func be (aW) = if (if (if (if (if ((aW != toBase58String(i)))
313313 then (aW != toBase58String(l))
314314 else false)
315315 then (aW != "WAVES")
316316 else false)
317317 then (aW != toBase58String(j))
318318 else false)
319319 then (aW != toBase58String(k))
320320 else false)
321321 then throw("Only SIGN, USDN,USDT or WAVES accepted")
322322 else true
323323
324324
325325 func bf (aW,bg) = {
326326 let bh = if (c)
327327 then 10
328328 else n("waves_min_sell")
329329 let bi = 1000000
330330 let bj = if (c)
331331 then 1
332332 else (B * 2)
333333 if (if (if (if (if (if ((aW == toBase58String(j)))
334334 then (bi > bg)
335335 else false)
336336 then (bg != 0)
337337 else false)
338338 then true
339339 else if (if ((aW == toBase58String(k)))
340340 then (bi > bg)
341341 else false)
342342 then (bg != 0)
343343 else false)
344344 then true
345345 else if (if ((aW == toBase58String(i)))
346346 then (bj > bg)
347347 else false)
348348 then (bg != 0)
349349 else false)
350350 then true
351351 else if (if (if ((aW == toBase58String(l)))
352352 then true
353353 else (aW == "WAVES"))
354354 then (bh > bg)
355355 else false)
356356 then (bg != 0)
357357 else false)
358358 then throw("Wrong minimum sell price")
359359 else true
360360 }
361361
362362
363363 func bk (aW) = if ((aW == "WAVES"))
364364 then unit
365365 else fromBase58String(aW)
366366
367367
368368 func bl (bm) = {
369369 let bn = a((bm + "_OPEN"))
370370 if ((bn == ""))
371371 then throw("Bid not found")
372372 else {
373373 let bo = split(bn, "_")
374374 let bp = parseIntValue(bo[1])
375375 let bq = bk(bo[0])
376376 if ((0 >= bp))
377377 then throw("Wrong amount")
378378 else $Tuple2(bp, bq)
379379 }
380380 }
381381
382382
383383 func br (aR,bs) = if (!(v))
384384 then throw(w)
385385 else {
386386 let bt = if ((bs != ""))
387387 then valueOrElse(p((toString(addressFromPublicKey(fromBase58String(bs))) + "_free_txs")), 0)
388388 else 0
389389 let N = if (if ((toBase58String(aR.caller.bytes) == toString(this)))
390390 then (bt > 0)
391391 else false)
392392 then toString(addressFromPublicKey(fromBase58String(bs)))
393393 else toBase58String(aR.caller.bytes)
394394 let bu = if (if ((bs != ""))
395395 then (bt > 0)
396396 else false)
397397 then invoke(h, "useFreeTx", [toString(addressFromPublicKey(fromBase58String(bs)))], nil)
398398 else unit
399399 if ((bu == bu))
400- then $Tuple4(toBase58String(aR.transactionId), N, lastBlock.timestamp, (bt > 0))
400+ then if (true)
401+ then throw(N)
402+ else $Tuple4(toBase58String(aR.transactionId), N, lastBlock.timestamp, (bt > 0))
401403 else throw("Strict value is not equal to itself.")
402404 }
403405
404406
405407 func bv (aR) = if (!(v))
406408 then throw(w)
407409 else $Tuple3(toBase58String(aR.transactionId), toBase58String(aR.caller.bytes), lastBlock.timestamp)
408410
409411
410412 func bw (aR,P,bx,by,bz,bs) = {
411413 let bA = br(aR, bs)
412414 let bB = bA._1
413415 let N = bA._2
414416 let bC = bA._3
415417 let bt = bA._4
416418 if (true)
417419 then throw(((((((N + " / ") + bx) + " / ") + bz) + " / ") + bs))
418420 else {
419421 let bD = if (if (if ((N == bx))
420422 then (bz != "")
421423 else false)
422424 then (by != "")
423425 else false)
424426 then true
425427 else false
426428 let bE = o(ah(N, P))
427429 if (if (if ((bE != 0))
428430 then (height >= bE)
429431 else false)
430432 then !(bD)
431433 else false)
432434 then throw("Sale ended.")
433435 else {
434436 let bF = (N == bx)
435437 let bG = o("total_nft_issued")
436438 let D = a(W(bx, P))
437439 let bH = a(Q(bx, P))
438440 if ((bH == ""))
439441 then throw("Art doesn't exist")
440442 else {
441443 let bI = q(Y(bx, P))
442444 let bJ = o(X(bx, P))
443445 let bc = if (bF)
444446 then (B * 2)
445447 else o(ag(bx, P))
446448 let bb = if (bF)
447449 then toBase58String(i)
448450 else a(ai(bx, P))
449451 let bK = o(V(bx, P))
450452 if (if (if (!(bD))
451453 then !(bF)
452454 else false)
453455 then if (if ((0 >= bc))
454456 then true
455457 else !(bI))
456458 then true
457459 else (0 >= bK)
458460 else false)
459461 then throw("Art not for sale")
460462 else if (if (if (!(bD))
461463 then bF
462464 else false)
463465 then (0 >= bK)
464466 else false)
465467 then throw("Max issuable not set")
466468 else {
467469 let aP = aF(bx)
468470 if (if (bD)
469471 then (aP != "")
470472 else false)
471473 then throw(aP)
472474 else {
473475 let bm = ((((((("bid_" + P) + "_") + bx) + "_") + bz) + "_") + by)
474476 let bL = if (bD)
475477 then bl(bm)
476478 else ba(aR, bb, bc)
477479 let aT = bL._1
478480 let aW = bL._2
479481 let bM = valueOrElse(getString(g, ak(bx)), f)
480482 let bN = valueOrElse(getInteger(g, am(bx)), 0)
481483 let bO = valueOrElse(getString(g, an(bx)), f)
482484 let bP = valueOrElse(getInteger(g, ao(bx)), 0)
483485 let bQ = p(bx)
484486 let bR = if ((bQ > height))
485487 then 0
486488 else if ((aW == i))
487489 then r
488490 else s
489491 let bS = fraction(aT, bR, 100)
490492 let bT = if (if (if ((bM != f))
491493 then (bN > 0)
492494 else false)
493495 then (height > bQ)
494496 else false)
495497 then fraction(aT, bN, 10000)
496498 else 0
497499 let bU = if (if (if ((bO != f))
498500 then (bP > 0)
499501 else false)
500502 then (height > bQ)
501503 else false)
502504 then fraction(aT, bP, 10000)
503505 else 0
504506 let bV = (aT - bS)
505507 if ((bJ == bK))
506508 then throw("Art sold out")
507509 else {
508510 let bW = (bJ + 1)
509511 let bX = ((((((((((("Creator: " + bx) + ",
510512 ArtID: ") + P) + ",
511513 SignID: ") + D) + ",
512514 Artwork name: ") + bH) + ",
513515 Issue: ") + toString(bW)) + "/") + toString(bK))
514516 let bY = Issue(("SA_" + toString((bG + 1))), bX, 1, 0, false)
515517 let bZ = calculateAssetId(bY)
516518 let ca = if (if ((bW == bK))
517519 then true
518520 else !(bI))
519521 then false
520522 else true
521523 let cb = if (if (if ((N == bx))
522524 then (bz != "")
523525 else false)
524526 then (by != "")
525527 else false)
526528 then addressFromStringValue(bz)
527529 else aR.caller
528530 let cc = if (!(isDefined(aW)))
529531 then "WAVES"
530532 else toBase58String(value(aW))
531533 let bn = a((bm + "_OPEN"))
532534 let cd = DeleteEntry((bm + "_OPEN"))
533535 let ce = StringEntry((bm + "_CLOSED"), ((bn + "_") + toString(bC)))
534536 let cf = ((((((("art_sold_" + toString(bW)) + "_of_") + toString(bK)) + "_") + P) + "_") + bx)
535537 let cg = if (!(bD))
536538 then ((((((((((N + "_") + toString(bC)) + "_") + bB) + "_") + toString(bc)) + "_") + bb) + "_") + toBase58String(bZ))
537539 else ((((((((((toString(cb) + "_") + toString(bC)) + "_") + bB) + "_") + toString(aT)) + "_") + cc) + "_") + toBase58String(bZ))
538540 let ch = StringEntry(cf, cg)
539541 let ci = if ((bT != 0))
540542 then [ScriptTransfer(Address(fromBase58String(f)), (bS - bT), aW), ScriptTransfer(Address(fromBase58String(bM)), bT, aW)]
541543 else [ScriptTransfer(Address(fromBase58String(f)), bS, aW)]
542544 let cj = if ((bU != 0))
543545 then [ScriptTransfer(Address(fromBase58String(bO)), bU, aW), ScriptTransfer(Address(fromBase58String(bx)), (bV - bU), aW)]
544546 else [ScriptTransfer(Address(fromBase58String(bx)), bV, aW)]
545547 let ck = if (bt)
546548 then [ScriptTransfer(Address(fromBase58String(N)), 0, unit)]
547549 else nil
548550 let cl = ((([IntegerEntry(X(bx, P), bW), StringEntry(("nft_" + toBase58String(bZ)), cf), IntegerEntry("total_nft_issued", (bG + 1)), IntegerEntry(ah(bx, P), 0), BooleanEntry(Y(bx, P), ca), bY, ScriptTransfer(cb, 1, bZ)] ++ ci) ++ cj) ++ ck)
549551 if (bD)
550552 then [ch, ce, cd] :: cl
551553 else ch :: cl
552554 }
553555 }
554556 }
555557 }
556558 }
557559 }
558560 }
559561
560562
561563 func cm (cn) = {
562564 let G = cn
563565 if ($isInstanceOf(G, "String"))
564566 then {
565567 let co = G
566568 co
567569 }
568570 else throw("Sponsored Public Key String expected")
569571 }
570572
571573
572574 @Callable(cp)
573575 func setConf (b,cq) = {
574576 let N = toString(cp.caller)
575577 if (containsElement([m, toString(this)], N))
576578 then if (contains(b, "conf_"))
577579 then [StringEntry(b, cq)]
578580 else throw("Entries starting with conf_ only")
579581 else throw("You are not allowed to change this")
580582 }
581583
582584
583585
584586 @Callable(aR)
585587 func addArtwork (F,D,aL,aM,aN,cr,aw,aA,ax,aB,ay,cs,aO,bs) = {
586588 let ct = br(aR, bs)
587589 let P = ct._1
588590 let N = ct._2
589591 let bC = ct._3
590592 let bt = ct._4
591593 if (!(K(F)))
592594 then throw("Hash should be 64 characters maximum")
593595 else {
594596 let cu = aH(ay, aB)
595597 let aJ = cu._1
596598 let aK = cu._2
597599 let cv = aI(N, aw, ax, aJ, aA, aK, aL, aM, aN, aO)
598600 if ((cv != ""))
599601 then throw("Something went wrong!")
600602 else {
601603 let cw = (p((N + "_free_drops")) > 0)
602604 let cx = if (cw)
603605 then $Tuple2(0, D)
604606 else aU(aR)
605607 let aT = cx._1
606608 let aW = cx._2
607609 if (!(isDefined(aT)))
608610 then throw("Something went wrong")
609611 else {
610612 let cy = a(au(F, N))
611613 if ((cy != ""))
612614 then throw("You already added it")
613615 else {
614616 let cz = a(ar(F))
615617 if ((cz != ""))
616618 then throw("Hash already registered")
617619 else {
618620 let cA = C(D, N, F)
619621 if (!(cA))
620622 then throw("Sign Certificate not found for this address.")
621623 else {
622624 let cB = if (cw)
623625 then invoke(h, "useFreeDrop", [N], nil)
624626 else unit
625627 if ((cB == cB))
626628 then {
627629 let ck = if (bt)
628630 then [ScriptTransfer(Address(fromBase58String(N)), 0, unit)]
629631 else nil
630632 ([StringEntry(ar(F), N), StringEntry(au(F, N), P), IntegerEntry(O(N, P), bC), StringEntry(Q(N, P), aL), StringEntry(R(N, P), aM), StringEntry(S(N, P), aw), StringEntry(U(N, P), ax), StringEntry(T(N, P), aA), StringEntry(Z(N, P), aK), StringEntry(aa(N, P), aJ), StringEntry(ac(N, P), cr), StringEntry(ab(N, P), aN), IntegerEntry(V(N, P), 0), StringEntry(W(N, P), D), IntegerEntry(X(N, P), 0), BooleanEntry(Y(N, P), false), StringEntry(as(N, D), P), StringEntry(ap(N, P), F), StringEntry(ae(N, P), cs), IntegerEntry(af(N, P), aO), ScriptTransfer(Address(fromBase58String(f)), aT, i)] ++ ck)
631633 }
632634 else throw("Strict value is not equal to itself.")
633635 }
634636 }
635637 }
636638 }
637639 }
638640 }
639641 }
640642
641643
642644
643645 @Callable(aR)
644646 func updateArtwork (aq,aL,aM,aN,cr,aw,aA,ax,aB,ay,cs,aO,bs) = if (!(v))
645647 then throw(w)
646648 else {
647649 let cC = br(aR, bs)
648650 let bB = cC._1
649651 let N = cC._2
650652 let bC = cC._3
651653 let bt = cC._4
652654 let cD = aH(ay, aB)
653655 let aJ = cD._1
654656 let aK = cD._2
655657 let cv = aI(N, aw, ax, aJ, aA, aK, aL, aM, aN, aO)
656658 if ((cv != ""))
657659 then throw("Something went wrong!")
658660 else {
659661 let cy = a(Q(N, aq))
660662 if ((cy == ""))
661663 then throw("Entry not found")
662664 else {
663665 let cE = a(aj(N, aq))
664666 if ((cE == "ILLEGAL"))
665667 then throw("Cannot update ILLEGAL artwork")
666668 else if (!(aX(N, aq)))
667669 then {
668670 let ck = if (bt)
669671 then [ScriptTransfer(Address(fromBase58String(N)), 0, unit)]
670672 else nil
671673 ([StringEntry(Q(N, aq), aL), StringEntry(R(N, aq), aM), StringEntry(S(N, aq), aw), StringEntry(U(N, aq), ax), StringEntry(T(N, aq), aA), StringEntry(aa(N, aq), aJ), StringEntry(Z(N, aq), aK), StringEntry(ab(N, aq), aN), StringEntry(ac(N, aq), cr), StringEntry(ae(N, aq), cs), IntegerEntry(af(N, aq), aO)] ++ ck)
672674 }
673675 else throw("Already minted")
674676 }
675677 }
676678 }
677679
678680
679681
680682 @Callable(aR)
681683 func flagArtwork (P,cF,cE,cG) = {
682684 let cH = bv(aR)
683685 let bB = cH._1
684686 let N = cH._2
685687 if (containsElement([m, toString(this)], N))
686688 then if (containsElement(["CONSENT", "", "CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], cE))
687689 then [StringEntry(aj(cF, P), cE), StringEntry(ad(cF, P), cG)]
688690 else throw(("Unknow status " + cE))
689691 else throw("You are not allowed")
690692 }
691693
692694
693695
694696 @Callable(aR)
695697 func deleteArtwork (P,cF) = {
696698 let cI = bv(aR)
697699 let bB = cI._1
698700 let N = cI._2
699701 let aY = if (containsElement([m, toString(this)], N))
700702 then cF
701703 else N
702704 let cy = valueOrErrorMessage(a(Q(aY, P)), "No art matching for this address")
703705 if ((cy == ""))
704706 then throw("No art matching for this address")
705707 else {
706708 let F = a(ap(aY, P))
707709 if ((F == ""))
708710 then throw("No art hash matching for this address")
709711 else {
710712 let D = a(W(aY, P))
711713 if ((D == ""))
712714 then throw("No SIGN ID matching")
713715 else {
714716 let cJ = [DeleteEntry(O(aY, P)), DeleteEntry(Q(aY, P)), DeleteEntry(R(aY, P)), DeleteEntry(S(aY, P)), DeleteEntry(U(aY, P)), DeleteEntry(T(aY, P)), DeleteEntry(Z(aY, P)), DeleteEntry(aa(aY, P)), DeleteEntry(ac(aY, P)), DeleteEntry(ab(aY, P)), DeleteEntry(V(aY, P)), DeleteEntry(W(aY, P)), DeleteEntry(X(aY, P)), DeleteEntry(Y(aY, P)), DeleteEntry(aj(aY, P)), DeleteEntry(ag(aY, P)), DeleteEntry(ai(aY, P)), DeleteEntry(ar(F)), DeleteEntry(as(aY, D)), DeleteEntry(au(F, aY)), DeleteEntry(ah(aY, P)), DeleteEntry(ad(aY, P)), DeleteEntry(ae(aY, P)), DeleteEntry(af(aY, P))]
715717 if (!(aX(aY, P)))
716718 then if (!(v))
717719 then throw(w)
718720 else cJ
719721 else if (containsElement([m, toString(this)], N))
720722 then cJ
721723 else throw("Art already minted, you cannot delete it")
722724 }
723725 }
724726 }
725727 }
726728
727729
728730
729731 @Callable(aR)
730732 func sellArtwork (P,bg,cK,aW,bE,bs) = {
731733 let cL = br(aR, bs)
732734 let bB = cL._1
733735 let N = cL._2
734736 let bC = cL._3
735737 let bt = cL._4
736738 let bH = a(Q(N, P))
737739 if ((bH == ""))
738740 then throw("This art doesn't match your account")
739741 else {
740742 let cE = a(aj(N, P))
741743 if (containsElement(["CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], cE))
742744 then throw("Flagged artwork")
743745 else {
744746 let cM = o(("current_bidamount_" + P))
745747 if ((0 > bE))
746748 then throw("Negative end")
747749 else if (if ((bE > 0))
748750 then if ((cK != 1))
749751 then true
750752 else (bg != 0)
751753 else false)
752754 then throw("Timed offer only allowed for unique edition and offer only")
753755 else {
754756 let cN = if ((bE == 0))
755757 then 0
756758 else height
757759 if (!(be(aW)))
758760 then throw("Something went wrong!")
759761 else if (!(bf(aW, bg)))
760762 then throw("Something went wrong!")
761763 else {
762764 let aP = aF(N)
763765 if ((aP != ""))
764766 then throw(aP)
765767 else {
766768 let bJ = o(X(N, P))
767769 let bK = o(V(N, P))
768770 if ((cK > 100))
769771 then throw("100 editions max per artwork")
770772 else if (if ((bJ != 0))
771773 then (bJ == bK)
772774 else false)
773775 then throw("Max edition reached.")
774776 else if (if ((bJ > 0))
775777 then (bK != cK)
776778 else false)
777779 then throw("Cannot change maximum issuable anymore")
778780 else if (if ((cM > 0))
779781 then (bK != cK)
780782 else false)
781783 then throw("Cannot change maximum issuable with active orders")
782784 else {
783785 let ca = if (if ((bg > 0))
784786 then (cK > 0)
785787 else false)
786788 then true
787789 else false
788790 let ck = if (bt)
789791 then [ScriptTransfer(Address(fromBase58String(N)), 0, unit)]
790792 else nil
791793 ([BooleanEntry(Y(N, P), ca), IntegerEntry(ag(N, P), bg), IntegerEntry(V(N, P), cK), StringEntry(ai(N, P), aW), IntegerEntry(ah(N, P), (cN + bE))] ++ ck)
792794 }
793795 }
794796 }
795797 }
796798 }
797799 }
798800 }
799801
800802
801803
802804 @Callable(aR)
803805 func buyArtwork (P,bx) = bw(aR, P, bx, "", "", "")
804806
805807
806808
807809 @Callable(aR)
808810 func setBid (P,bx) = {
809811 let cO = bv(aR)
810812 let bB = cO._1
811813 let N = cO._2
812814 let bC = cO._3
813815 let cP = aQ(aR)
814816 let aS = cP._1
815817 let aT = cP._2
816818 let aW = if (!(isDefined(aS.assetId)))
817819 then "WAVES"
818820 else toBase58String(value(aS.assetId))
819821 let bE = o(ah(bx, P))
820822 if (if ((bE != 0))
821823 then (height >= bE)
822824 else false)
823825 then throw("Sale ended.")
824826 else {
825827 let cM = o(("current_bidamount_" + P))
826828 if (!(be(aW)))
827829 then throw("asset not accepted")
828830 else if (!(bf(aW, aT)))
829831 then throw("Wrong min sell")
830832 else {
831833 let bJ = o(X(bx, P))
832834 let bK = o(V(bx, P))
833835 if ((0 >= bK))
834836 then throw("No max edition set for this artwork")
835837 else if ((bJ >= bK))
836838 then throw("Sold out, you cannot bid")
837839 else [StringEntry((((((((("bid_" + P) + "_") + bx) + "_") + N) + "_") + bB) + "_OPEN"), ((((aW + "_") + toString(aT)) + "_") + toString(bC))), IntegerEntry(("current_bidamount_" + P), (cM + 1))]
838840 }
839841 }
840842 }
841843
842844
843845
844846 @Callable(aR)
845847 func acceptBid (P,bx,by,bz,bs) = {
846848 let cQ = br(aR, bs)
847849 let bB = cQ._1
848850 let N = cQ._2
849851 let bC = cQ._3
850852 let bt = cQ._4
851853 if ((N != bx))
852854 then throw("You cannot do this action")
853855 else bw(aR, P, bx, by, bz, bs)
854856 }
855857
856858
857859
858860 @Callable(aR)
859861 func cancelBid (P,bx,by,bz) = {
860862 let cR = bv(aR)
861863 let bB = cR._1
862864 let N = cR._2
863865 let bC = cR._3
864866 if (if ((N != bz))
865867 then (N != bx)
866868 else false)
867869 then throw("You cannot do this action")
868870 else {
869871 let cS = if ((N == bx))
870872 then bz
871873 else N
872874 let cM = o(("current_bidamount_" + P))
873875 let bm = ((((((("bid_" + P) + "_") + bx) + "_") + bz) + "_") + by)
874876 let bn = a((bm + "_OPEN"))
875877 if ((bn == ""))
876878 then throw("Bid not found")
877879 else {
878880 let bo = split(bn, "_")
879881 let aW = bk(bo[0])
880882 let cT = "CANCELED"
881883 [DeleteEntry((bm + "_OPEN")), StringEntry(((bm + "_") + cT), ((bn + "_") + toString(bC))), IntegerEntry(("current_bidamount_" + P), (cM - 1)), ScriptTransfer(Address(fromBase58String(cS)), parseIntValue(bo[1]), aW)]
882884 }
883885 }
884886 }
885887
886888
887889 @Verifier(cU)
888890 func cV () = {
889891 let G = cU
890892 if ($isInstanceOf(G, "InvokeScriptTransaction"))
891893 then {
892894 let cW = G
893895 if (if (if (if ((cW.function == "addArtwork"))
894896 then (cW.dApp == this)
895897 else false)
896898 then (cW.fee == 500000)
897899 else false)
898900 then (cW.feeAssetId == unit)
899901 else false)
900902 then sigVerify(cU.bodyBytes, cU.proofs[0], fromBase58String(cm(cW.args[13])))
901903 else if (if (if (if ((cW.function == "updateArtwork"))
902904 then (cW.dApp == this)
903905 else false)
904906 then (cW.fee == 500000)
905907 else false)
906908 then (cW.feeAssetId == unit)
907909 else false)
908910 then sigVerify(cU.bodyBytes, cU.proofs[0], fromBase58String(cm(cW.args[12])))
909911 else if (if (if (if ((cW.function == "sellArtwork"))
910912 then (cW.dApp == this)
911913 else false)
912914 then (cW.fee == 500000)
913915 else false)
914916 then (cW.feeAssetId == unit)
915917 else false)
916918 then sigVerify(cU.bodyBytes, cU.proofs[0], fromBase58String(cm(cW.args[5])))
917919 else if (if (if (if ((cW.function == "acceptBid"))
918920 then (cW.dApp == this)
919921 else false)
920922 then (cW.fee == 500000)
921923 else false)
922924 then (cW.feeAssetId == unit)
923925 else false)
924926 then sigVerify_128Kb(cU.bodyBytes, cU.proofs[0], fromBase58String(cm(cW.args[4])))
925927 else sigVerify(cU.bodyBytes, cU.proofs[0], cU.senderPublicKey)
926928 }
927929 else sigVerify(cU.bodyBytes, cU.proofs[0], cU.senderPublicKey)
928930 }
929931

github/deemru/w8io/026f985 
149.16 ms