tx · 9SGDKxtsEJrXRP9vKe8GTSTV7rmqQWh1jkQUE1ZwyAUi

3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL:  -0.01400000 Waves

2021.01.22 16:13 [1364691] smart account 3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL > SELF 0.00000000 Waves

{ "type": 13, "id": "9SGDKxtsEJrXRP9vKe8GTSTV7rmqQWh1jkQUE1ZwyAUi", "fee": 1400000, "feeAssetId": null, "timestamp": 1611321256781, "version": 2, "chainId": 84, "sender": "3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL", "senderPublicKey": "7irc2VpK5czoyVdwrCuQqr2JU9ZaZnEZn8RPChnfi3yL", "proofs": [ "5CbzAzsvsuww3MkETbkzFRE8zDm4CETeMK93MUaStZQL6Bp5ZTPpv3zq6Bmc4QaYsE7u2rZu4K6upaLYmkarCeKN" ], "script": "base64:AAIEAAAAAAAAAE8IAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgSBAoCCAgSBgoECAgICBIDCgEIAAAAQQAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAACHNpZ25EYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAtmZWVSZWNlaXZlcgIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAACHVzZXJEYXBwAwUAAAAIdW5pdFRlc3QJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM010NFJHTUV5alNXWUFvY1RQcWQ1NXdkSFFRQjNQVTJVQ20JAQAAAAV2YWx1ZQAAAAEJAAQmAAA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FZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAAAH5XTv", "height": 1364691, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 73ShB8fnZFE8Mai1GEpTBWffhT2Cw8aKFd1N6ktEhX5A Next: EWun5es8ePW6dWkys8w13mucyezJZ4E9xNiVJqAjWogm Diff:
OldNewDifferences
353353 let aR = x(ae(ba, P))
354354 let bq = x(ag(ba, P))
355355 let br = z(V(ba, P))
356+ let bs = if (if (if ((N == ba))
357+ then (bc != "")
358+ else false)
359+ then (bb != "")
360+ else false)
361+ then true
362+ else false
356363 if (if (if ((0 >= aS))
357364 then true
358365 else !(bo))
360367 else (0 >= br))
361368 then throw("Art not for sale")
362369 else {
363- let bs = if (if (if ((N == ba))
364- then (bc != "")
365- else false)
366- then (bb != "")
367- else false)
370+ let bt = if (bs)
368371 then aZ(P, ba, bb, bc)
369372 else aQ(aI, aR, aS)
370- let aK = bs._1
371- let aL = bs._2
372- let bt = A(ba)
373- let bu = if ((bt > height))
373+ let aK = bt._1
374+ let aL = bt._2
375+ let bu = A(ba)
376+ let bv = if ((bu > height))
374377 then 0
375378 else if ((aR == toBase58String(g)))
376379 then l
377380 else m
378- let bv = fraction(aK, bu, 100)
379- let bw = (aK - bv)
381+ let bw = fraction(aK, bv, 100)
382+ let bx = (aK - bw)
380383 if ((bp == br))
381384 then throw("Art sold out")
382385 else {
383- let bx = (bp + 1)
384- let by = lastBlock.timestamp
385- let bz = ((((((((((((((((((((((((((("Creator: " + ba) + ",
386+ let by = (bp + 1)
387+ let bz = lastBlock.timestamp
388+ let bA = ((((((((((((((((((((((((((("Creator: " + ba) + ",
386389 ArtID: ") + P) + ",
387390 SignID: ") + D) + ",
388391 Artwork name: ") + bk) + ",
389392 Artwork description: ") + aD) + ",
390- Issue: ") + toString(bx)) + "/") + toString(br)) + ",
393+ Issue: ") + toString(by)) + "/") + toString(br)) + ",
391394 Max issuable: ") + toString(br)) + ",
392395 Source hash: ") + bq) + ",
393396 Display cid: ") + bl) + ",
395398 Export hash: ") + bn) + ",
396399 Licence cid: ") + aA) + ",
397400 Licence hash: ") + aB)
398- let bA = Issue(("SA_" + toString((bj + 1))), bz, 1, 0, false)
399- let bB = calculateAssetId(bA)
400- let bC = if ((bx == br))
401+ let bB = Issue(("SA_" + toString((bj + 1))), bA, 1, 0, false)
402+ let bC = calculateAssetId(bB)
403+ let bD = if ((by == br))
401404 then false
402405 else true
403- let bD = if (if (if ((N == ba))
406+ let bE = if (if (if ((N == ba))
404407 then (bc != "")
405408 else false)
406409 then (bb != "")
407410 else false)
408411 then addressFromStringValue(bc)
409412 else aI.caller
410- let bE = [IntegerEntry(X(ba, P), bx), StringEntry(("nft_" + toBase58String(bB)), ((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), IntegerEntry("total_nft_issued", (bj + 1)), BooleanEntry(Y(ba, P), bC), bA, ScriptTransfer(Address(fromBase58String(ba)), bw, aL), ScriptTransfer(Address(fromBase58String(d)), bv, aL), ScriptTransfer(bD, 1, bB)]
411- let bF = StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((N + "_") + toString(by)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bB)))
413+ let bF = [IntegerEntry(X(ba, P), by), StringEntry(("nft_" + toBase58String(bC)), ((((((("art_sold_" + toString(by)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), IntegerEntry("total_nft_issued", (bj + 1)), BooleanEntry(Y(ba, P), bD), bB, ScriptTransfer(Address(fromBase58String(ba)), bx, aL), ScriptTransfer(Address(fromBase58String(d)), bw, aL), ScriptTransfer(bE, 1, bC)]
412414 let bG = if (!(isDefined(aL)))
413415 then "WAVES"
414416 else toBase58String(value(aL))
415417 let bH = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
416418 let bI = DeleteEntry((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
417419 let bJ = StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_CLOSED"), bH)
418- let bK = StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((toString(bD) + "_") + toString(by)) + "_") + bi) + "_") + toString(aK)) + "_") + bG) + "_") + toBase58String(bB)))
419- if (if (if ((N == ba))
420- then (bc != "")
421- else false)
422- then (bb != "")
423- else false)
424- then [bK, bJ, bI] :: bE
425- else bF :: bE
420+ let bK = if (!(bs))
421+ then ((((((((((N + "_") + toString(bz)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bC))
422+ else ((((((((((toString(bE) + "_") + toString(bz)) + "_") + bi) + "_") + toString(aK)) + "_") + bG) + "_") + toBase58String(bC))
423+ let bL = StringEntry(((((((("art_sold_" + toString(by)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), bK)
424+ if (bs)
425+ then [bL, bJ, bI] :: bF
426+ else bL :: bF
426427 }
427428 }
428429 }
430431
431432
432433 @Callable(aI)
433-func addArtwork (F,D,aC,aD,aE,bL,aF,an,ar,ao,as,ap) = if (!(p))
434+func addArtwork (F,D,aC,aD,aE,bM,aF,an,ar,ao,as,ap) = if (!(p))
434435 then throw(q)
435436 else {
436437 let P = toBase58String(aI.transactionId)
437- let bM = lastBlock.timestamp
438+ let bN = lastBlock.timestamp
438439 let N = toBase58String(aI.caller.bytes)
439440 if (!(K(F)))
440441 then throw("Hash should be 64 characters maximum")
441442 else {
442- let bN = ay(ap, as)
443- let aA = bN._1
444- let aB = bN._2
445- let bO = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
446- if ((bO != ""))
443+ let bO = ay(ap, as)
444+ let aA = bO._1
445+ let aB = bO._2
446+ let bP = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
447+ if ((bP != ""))
447448 then throw("Something went wrong!")
448449 else {
449- let bP = aH(aI)
450- let aK = bP._1
451- let aL = bP._2
450+ let bQ = aH(aI)
451+ let aK = bQ._1
452+ let aL = bQ._2
452453 if (!(isDefined(aK)))
453454 then throw("Something went wrong")
454455 else {
455- let bQ = x(al(F, N))
456- if ((bQ != ""))
456+ let bR = x(al(F, N))
457+ if ((bR != ""))
457458 then throw("You already added it")
458459 else {
459- let bR = x(ai(F))
460- if ((bR != ""))
460+ let bS = x(ai(F))
461+ if ((bS != ""))
461462 then throw("Hash already registered")
462463 else {
463- let bS = C(D, N, F)
464- if (!(bS))
464+ let bT = C(D, N, F)
465+ if (!(bT))
465466 then throw("Sign Certificate not found for this address.")
466- else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bM), StringEntry(Q(N, P), aC), StringEntry(R(N, P), aD), StringEntry(S(N, P), an), StringEntry(U(N, P), ao), StringEntry(T(N, P), ar), StringEntry(Z(N, P), aB), StringEntry(aa(N, P), aA), StringEntry(ac(N, P), bL), StringEntry(ab(N, P), aE), IntegerEntry(V(N, P), aF), StringEntry(W(N, P), D), IntegerEntry(X(N, P), 0), BooleanEntry(Y(N, P), false), StringEntry(aj(N, D), P), StringEntry(ag(N, P), F), ScriptTransfer(Address(fromBase58String(d)), aK, aL)]
467+ else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bN), StringEntry(Q(N, P), aC), StringEntry(R(N, P), aD), StringEntry(S(N, P), an), StringEntry(U(N, P), ao), StringEntry(T(N, P), ar), StringEntry(Z(N, P), aB), StringEntry(aa(N, P), aA), StringEntry(ac(N, P), bM), StringEntry(ab(N, P), aE), IntegerEntry(V(N, P), aF), StringEntry(W(N, P), D), IntegerEntry(X(N, P), 0), BooleanEntry(Y(N, P), false), StringEntry(aj(N, D), P), StringEntry(ag(N, P), F), ScriptTransfer(Address(fromBase58String(d)), aK, aL)]
467468 }
468469 }
469470 }
474475
475476
476477 @Callable(aI)
477-func updateArtwork (ah,aC,aD,aE,bL,aF,an,ar,ao,as,ap) = if (!(p))
478+func updateArtwork (ah,aC,aD,aE,bM,aF,an,ar,ao,as,ap) = if (!(p))
478479 then throw(q)
479480 else {
480- let bT = toBase58String(aI.transactionId)
481+ let bU = toBase58String(aI.transactionId)
481482 let N = toBase58String(aI.caller.bytes)
482- let bU = ay(ap, as)
483- let aA = bU._1
484- let aB = bU._2
485- let bO = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
486- if ((bO != ""))
483+ let bV = ay(ap, as)
484+ let aA = bV._1
485+ let aB = bV._2
486+ let bP = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
487+ if ((bP != ""))
487488 then throw("Something went wrong!")
488489 else {
489- let bQ = x(Q(N, ah))
490- if ((bQ == ""))
490+ let bR = x(Q(N, ah))
491+ if ((bR == ""))
491492 then throw("Entry not found")
492493 else {
493- let bV = x(af(N, ah))
494- if ((bV == "ILLEGAL"))
494+ let bW = x(af(N, ah))
495+ if ((bW == "ILLEGAL"))
495496 then throw("Cannot update ILLEGAL artwork")
496497 else if (!(aN(N, ah)))
497- then [StringEntry(Q(N, ah), aC), StringEntry(R(N, ah), aD), StringEntry(S(N, ah), an), StringEntry(U(N, ah), ao), StringEntry(T(N, ah), ar), StringEntry(aa(N, ah), aA), StringEntry(Z(N, ah), aB), IntegerEntry(V(N, ah), aF), StringEntry(ab(N, ah), aE), StringEntry(ac(N, ah), bL)]
498+ then [StringEntry(Q(N, ah), aC), StringEntry(R(N, ah), aD), StringEntry(S(N, ah), an), StringEntry(U(N, ah), ao), StringEntry(T(N, ah), ar), StringEntry(aa(N, ah), aA), StringEntry(Z(N, ah), aB), IntegerEntry(V(N, ah), aF), StringEntry(ab(N, ah), aE), StringEntry(ac(N, ah), bM)]
498499 else throw("Already minted")
499500 }
500501 }
503504
504505
505506 @Callable(aI)
506-func flagArtwork (P,bW,bV) = {
507+func flagArtwork (P,bX,bW) = {
507508 let N = toString(addressFromPublicKey(aI.callerPublicKey))
508509 let bi = toBase58String(aI.transactionId)
509510 if (containsElement([j, k, toString(this)], N))
510- then if ((bV == "CONSENT"))
511- then [StringEntry(af(bW, P), bV)]
512- else if ((bV == ""))
513- then [StringEntry(af(bW, P), bV)]
514- else if ((bV == "ILLEGAL"))
515- then [StringEntry(af(bW, P), bV), StringEntry(Q(bW, P), "ILLEGAL CONTENT"), StringEntry(R(bW, P), "ILLEGAL CONTENT"), StringEntry(S(bW, P), ""), StringEntry(U(bW, P), ""), StringEntry(aa(bW, P), "")]
516- else throw(("Unknow status " + bV))
511+ then if ((bW == "CONSENT"))
512+ then [StringEntry(af(bX, P), bW)]
513+ else if ((bW == ""))
514+ then [StringEntry(af(bX, P), bW)]
515+ else if ((bW == "ILLEGAL"))
516+ then [StringEntry(af(bX, P), bW), StringEntry(Q(bX, P), "ILLEGAL CONTENT"), StringEntry(R(bX, P), "ILLEGAL CONTENT"), StringEntry(S(bX, P), ""), StringEntry(U(bX, P), ""), StringEntry(aa(bX, P), "")]
517+ else throw(("Unknow status " + bW))
517518 else throw("You are not allowed")
518519 }
519520
520521
521522
522523 @Callable(aI)
523-func deleteArtwork (P,bW) = {
524+func deleteArtwork (P,bX) = {
524525 let N = toString(addressFromPublicKey(aI.callerPublicKey))
525526 let bi = toBase58String(aI.transactionId)
526527 let aO = if (containsElement([j, k, toString(this)], N))
527- then bW
528+ then bX
528529 else N
529- let bQ = x(Q(aO, P))
530- if ((bQ == ""))
530+ let bR = x(Q(aO, P))
531+ if ((bR == ""))
531532 then throw("No art matching for this address")
532533 else {
533534 let F = x(ag(aO, P))
538539 if ((D == ""))
539540 then throw("No SIGN ID matching")
540541 else {
541- let bX = [DeleteEntry(O(aO, P)), DeleteEntry(Q(aO, P)), DeleteEntry(R(aO, P)), DeleteEntry(S(aO, P)), DeleteEntry(U(aO, P)), DeleteEntry(T(aO, P)), DeleteEntry(Z(aO, P)), DeleteEntry(aa(aO, P)), DeleteEntry(ac(aO, P)), DeleteEntry(ab(aO, P)), DeleteEntry(V(aO, P)), DeleteEntry(W(aO, P)), DeleteEntry(X(aO, P)), DeleteEntry(Y(aO, P)), DeleteEntry(af(bW, P)), DeleteEntry(ad(bW, P)), DeleteEntry(ae(bW, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aO, D)), DeleteEntry(al(F, aO))]
542+ let bY = [DeleteEntry(O(aO, P)), DeleteEntry(Q(aO, P)), DeleteEntry(R(aO, P)), DeleteEntry(S(aO, P)), DeleteEntry(U(aO, P)), DeleteEntry(T(aO, P)), DeleteEntry(Z(aO, P)), DeleteEntry(aa(aO, P)), DeleteEntry(ac(aO, P)), DeleteEntry(ab(aO, P)), DeleteEntry(V(aO, P)), DeleteEntry(W(aO, P)), DeleteEntry(X(aO, P)), DeleteEntry(Y(aO, P)), DeleteEntry(af(bX, P)), DeleteEntry(ad(bX, P)), DeleteEntry(ae(bX, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aO, D)), DeleteEntry(al(F, aO))]
542543 if (!(aN(aO, P)))
543544 then if (!(p))
544545 then throw(q)
545- else bX
546+ else bY
546547 else if (containsElement([j, toString(this)], N))
547- then bX
548+ then bY
548549 else throw("Art already minted, you cannot delete it")
549550 }
550551 }
554555
555556
556557 @Callable(aI)
557-func sellArtwork (P,aV,bY,aL) = if (!(p))
558+func sellArtwork (P,aV,bZ,aL) = if (!(p))
558559 then throw(q)
559560 else {
560561 let bi = toBase58String(aI.transactionId)
561562 let N = toBase58String(aI.caller.bytes)
562- let bZ = lastBlock.timestamp
563+ let ca = lastBlock.timestamp
563564 let bk = x(Q(N, P))
564565 if ((bk == ""))
565566 then throw("This art doesn't match match your account")
582583 else {
583584 let bp = z(X(N, P))
584585 let br = z(V(N, P))
585- if ((bY > 10))
586+ if ((bZ > 10))
586587 then throw("10 editions max per artwork")
587588 else if (if ((bp != 0))
588589 then (bp == br)
589590 else false)
590591 then throw("Max edition reached.")
591592 else if (if ((bp > 0))
592- then (br != bY)
593+ then (br != bZ)
593594 else false)
594595 then throw("Cannot change maximum issuable anymore")
595596 else {
596- let bC = if (if ((aV > 0))
597- then (bY > 0)
597+ let bD = if (if ((aV > 0))
598+ then (bZ > 0)
598599 else false)
599600 then true
600601 else false
601-[BooleanEntry(Y(N, P), bC), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bY), StringEntry(ae(N, P), aL)]
602+[BooleanEntry(Y(N, P), bD), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bZ), StringEntry(ae(N, P), aL)]
602603 }
603604 }
604605 }
621622 else {
622623 let bi = toBase58String(aI.transactionId)
623624 let N = toBase58String(aI.caller.bytes)
624- let bM = lastBlock.timestamp
625+ let bN = lastBlock.timestamp
625626 if ((size(aI.payments) == 0))
626627 then throw("No payment attached")
627628 else {
634635 let br = z(V(ba, P))
635636 if ((bp >= br))
636637 then throw("Sold out, you cannot bid")
637- else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bM)))]
638+ else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bN)))]
638639 }
639640 }
640641
652653
653654
654655
655-@Callable(ca)
656-func deleteEntry (cb) = {
657- let N = toString(addressFromPublicKey(ca.callerPublicKey))
656+@Callable(cb)
657+func deleteEntry (cc) = {
658+ let N = toString(addressFromPublicKey(cb.callerPublicKey))
658659 if ((N == j))
659- then [DeleteEntry(cb)]
660+ then [DeleteEntry(cc)]
660661 else throw("no")
661662 }
662663
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = false
55
66 let b = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1"))
77
88 let c = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB"))
99
1010 let d = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
1111
1212 let e = if (a)
1313 then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
1414 else value(addressFromString("3MwDZagoYEiNfQLc31cGpYoaE54MGMwoFrZ"))
1515
1616 let f = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq"))
1717
1818 let g = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
1919
2020 let h = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
2121
2222 let i = base58''
2323
2424 let j = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
2525
2626 let k = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
2727
2828 let l = 7
2929
3030 let m = 10
3131
3232 let n = "bafybeifuyo4pqu54ismqgtb6e4h6kkvgx7zg4u3zibh2r7y6mb64i7bzza/licence.pdf"
3333
3434 let o = "a87758c354e30a9e78fb84fa3a0010a5090ab20df0be11ad45b5720cc187e639"
3535
3636 let p = valueOrElse(getBoolean(e, "conf_dapp_is_running"), true)
3737
3838 let q = valueOrElse(getString(e, "conf_maintenance_msg"), "")
3939
4040 let r = "SUSPENDED"
4141
4242 let s = "REMOVED"
4343
4444 let t = "UNREGISTERED"
4545
4646 let u = "ALLOWED"
4747
4848 func v (w) = valueOrElse(getString(e, w), "")
4949
5050
5151 func x (w) = valueOrElse(getString(this, w), "")
5252
5353
5454 func y (w) = valueOrErrorMessage(getInteger(b, w), "Integer undefine or 0 in oracle")
5555
5656
5757 func z (w) = valueOrElse(getInteger(this, w), 0)
5858
5959
6060 func A (w) = valueOrElse(getInteger(f, w), 0)
6161
6262
6363 func B (w) = valueOrElse(getBoolean(this, w), false)
6464
6565
6666 func C (D,E,F) = {
6767 let G = getString(c, ((("data_fc_" + D) + "_") + E))
6868 if ($isInstanceOf(G, "String"))
6969 then {
7070 let H = G
7171 if (contains(H, F))
7272 then true
7373 else false
7474 }
7575 else false
7676 }
7777
7878
7979 func I (J) = if (contains(J, "/"))
8080 then if (if ((76 > size(J)))
8181 then (size(split(J, "/")[0]) == 59)
8282 else false)
8383 then (16 > size(split(J, "/")[1]))
8484 else false
8585 else false
8686
8787
8888 func K (L) = (size(L) == 64)
8989
9090
9191 func M (N) = ("user_status_" + N)
9292
9393
9494 func O (N,P) = ((("art_date_" + P) + "_") + N)
9595
9696
9797 func Q (N,P) = ((("art_name_" + P) + "_") + N)
9898
9999
100100 func R (N,P) = ((("art_desc_" + P) + "_") + N)
101101
102102
103103 func S (N,P) = ((("art_display_cid_" + P) + "_") + N)
104104
105105
106106 func T (N,P) = ((("art_export_hash_" + P) + "_") + N)
107107
108108
109109 func U (N,P) = ((("art_export_cid_" + P) + "_") + N)
110110
111111
112112 func V (N,P) = ((("art_maxmint_" + P) + "_") + N)
113113
114114
115115 func W (N,P) = ((("art_signid_" + P) + "_") + N)
116116
117117
118118 func X (N,P) = ((("art_issued_" + P) + "_") + N)
119119
120120
121121 func Y (N,P) = ((("art_onsale_" + P) + "_") + N)
122122
123123
124124 func Z (N,P) = ((("art_licence_hash_" + P) + "_") + N)
125125
126126
127127 func aa (N,P) = ((("art_licence_cid_" + P) + "_") + N)
128128
129129
130130 func ab (N,P) = ((("art_tags_" + P) + "_") + N)
131131
132132
133133 func ac (N,P) = ((("art_type_" + P) + "_") + N)
134134
135135
136136 func ad (N,P) = ((("art_price_" + P) + "_") + N)
137137
138138
139139 func ae (N,P) = ((("art_assetAccepted_" + P) + "_") + N)
140140
141141
142142 func af (N,P) = ((("art_flag_" + P) + "_") + N)
143143
144144
145145 func ag (N,ah) = ((("get_hashbytxidaddr_" + ah) + "_") + N)
146146
147147
148148 func ai (F) = ("get_owner_by_hash_" + F)
149149
150150
151151 func aj (N,ak) = ((("get_artidbysignid_" + ak) + "_") + N)
152152
153153
154154 func al (F,N) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((F + N)))))
155155
156156
157157 func am (an,ao,ap) = if (!(I(an)))
158158 then throw("Wrong Display CID")
159159 else if (!(I(ao)))
160160 then throw("Wrong Export CID")
161161 else if (if ((ap != ""))
162162 then !(I(ap))
163163 else false)
164164 then throw("Wrong Licence CID")
165165 else true
166166
167167
168168 func aq (ar,as) = if (!(K(ar)))
169169 then throw("Export Hash 64 char. max")
170170 else if (!(K(as)))
171171 then throw("Licence Hash 64 char. max")
172172 else true
173173
174174
175175 func at (au,av) = if ((size(au) == 0))
176176 then throw("Field cannot be is empty")
177177 else if ((size(au) > av))
178178 then throw((au + " is too long"))
179179 else true
180180
181181
182182 func aw (N) = {
183183 let ax = valueOrElse(getString(e, M(N)), t)
184184 if (if ((ax == t))
185185 then true
186186 else (ax == u))
187187 then "Register this account first with \"Account\" tab"
188188 else if ((ax == r))
189189 then "Account suspended"
190190 else if ((ax == s))
191191 then "Account removed"
192192 else ""
193193 }
194194
195195
196196 func ay (ap,as) = {
197197 let J = if ((size(ap) == 0))
198198 then n
199199 else ap
200200 let L = if ((size(as) == 0))
201201 then o
202202 else as
203203 $Tuple2(J, L)
204204 }
205205
206206
207207 func az (N,an,ao,aA,ar,aB,aC,aD,aE,aF) = {
208208 let aG = aw(N)
209209 if ((aG != ""))
210210 then throw(aG)
211211 else if ((size(an) == 0))
212212 then throw("Display CID cannot be empty")
213213 else if (!(am(an, ao, aA)))
214214 then throw("Problem with CID")
215215 else if (!(aq(ar, aB)))
216216 then throw("Problem with Hashes")
217217 else if (!(at(aC, 100)))
218218 then throw("100 Char. max name")
219219 else if (!(at(aD, 1000)))
220220 then throw("1000 Char. max description")
221221 else if ((size(split(aE, ",")) > 5))
222222 then throw("5 tags max.")
223223 else if ((aF > 10))
224224 then throw("10 editions max per artwork")
225225 else ""
226226 }
227227
228228
229229 func aH (aI) = if ((size(aI.payments) == 0))
230230 then throw("No payment attached")
231231 else {
232232 let aJ = value(aI.payments[0])
233233 let aK = value(aJ.amount)
234234 let aL = if (if (isDefined(aJ.assetId))
235235 then (aJ.assetId == g)
236236 else false)
237237 then aJ.assetId
238238 else throw("Only SIGN token accepted as transaction fee")
239239 let aM = y(("certification_fee_" + toBase58String(g)))
240240 if ((aK != aM))
241241 then throw(("Payment amount should be " + toString(aM)))
242242 else $Tuple2(aK, aL)
243243 }
244244
245245
246246 func aN (aO,P) = {
247247 let G = getInteger(this, X(aO, P))
248248 if ($isInstanceOf(G, "Int"))
249249 then {
250250 let aP = G
251251 if ((aP != 0))
252252 then true
253253 else false
254254 }
255255 else false
256256 }
257257
258258
259259 func aQ (aI,aR,aS) = {
260260 let aJ = value(aI.payments[0])
261261 let aK = value(aJ.amount)
262262 let aL = if (!(isDefined(aJ.assetId)))
263263 then unit
264264 else if (if ((size(aR) > 0))
265265 then (toBase58String(value(aJ.assetId)) == aR)
266266 else false)
267267 then aJ.assetId
268268 else throw("Wrong asset id")
269269 if (if ((aL == unit))
270270 then (aR != "")
271271 else false)
272272 then throw("Wrong asset id")
273273 else if ((aS != aK))
274274 then throw("Payment don't match")
275275 else $Tuple2(aK, aL)
276276 }
277277
278278
279279 func aT (aL) = if (if (if ((aL != toBase58String(g)))
280280 then (aL != toBase58String(i))
281281 else false)
282282 then (aL != toBase58String(h))
283283 else false)
284284 then throw("Only SIGN, USDN or WAVES accepted")
285285 else true
286286
287287
288288 func aU (aL,aV) = {
289289 let aW = if (a)
290290 then 1
291291 else y("waves_min_sell")
292292 let aX = 1000000
293293 let aY = if (a)
294294 then 1
295295 else (y(("certification_fee_" + toBase58String(g))) * 2)
296296 if (if (if (if (if ((aL == toBase58String(h)))
297297 then (aX > aV)
298298 else false)
299299 then (aV != 0)
300300 else false)
301301 then true
302302 else if (if ((aL == toBase58String(g)))
303303 then (aY > aV)
304304 else false)
305305 then (aV != 0)
306306 else false)
307307 then true
308308 else if (if ((aL == toBase58String(i)))
309309 then (aW > aV)
310310 else false)
311311 then (aV != 0)
312312 else false)
313313 then throw("Wrong minimum sell price")
314314 else true
315315 }
316316
317317
318318 func aZ (P,ba,bb,bc) = {
319319 let bd = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
320320 if ((bd == ""))
321321 then throw("Bid not found")
322322 else {
323323 let be = split(bd, "_")
324324 let bf = parseIntValue(be[1])
325325 let bg = if ((be[0] == "WAVES"))
326326 then unit
327327 else fromBase58String(be[0])
328328 if ((0 >= bf))
329329 then throw("Wrong amount")
330330 else $Tuple2(bf, bg)
331331 }
332332 }
333333
334334
335335 func bh (aI,P,ba,bb,bc) = {
336336 let bi = toBase58String(aI.transactionId)
337337 let N = toBase58String(aI.caller.bytes)
338338 let bj = z("total_nft_issued")
339339 let D = x(W(ba, P))
340340 let bk = x(Q(ba, P))
341341 if ((bk == ""))
342342 then throw("Art doesn't exist")
343343 else {
344344 let bl = x(S(ba, P))
345345 let bm = x(U(ba, P))
346346 let bn = x(T(ba, P))
347347 let aA = x(aa(ba, P))
348348 let aB = x(Z(ba, P))
349349 let aD = take(x(R(ba, P)), 50)
350350 let bo = B(Y(ba, P))
351351 let bp = z(X(ba, P))
352352 let aS = z(ad(ba, P))
353353 let aR = x(ae(ba, P))
354354 let bq = x(ag(ba, P))
355355 let br = z(V(ba, P))
356+ let bs = if (if (if ((N == ba))
357+ then (bc != "")
358+ else false)
359+ then (bb != "")
360+ else false)
361+ then true
362+ else false
356363 if (if (if ((0 >= aS))
357364 then true
358365 else !(bo))
359366 then true
360367 else (0 >= br))
361368 then throw("Art not for sale")
362369 else {
363- let bs = if (if (if ((N == ba))
364- then (bc != "")
365- else false)
366- then (bb != "")
367- else false)
370+ let bt = if (bs)
368371 then aZ(P, ba, bb, bc)
369372 else aQ(aI, aR, aS)
370- let aK = bs._1
371- let aL = bs._2
372- let bt = A(ba)
373- let bu = if ((bt > height))
373+ let aK = bt._1
374+ let aL = bt._2
375+ let bu = A(ba)
376+ let bv = if ((bu > height))
374377 then 0
375378 else if ((aR == toBase58String(g)))
376379 then l
377380 else m
378- let bv = fraction(aK, bu, 100)
379- let bw = (aK - bv)
381+ let bw = fraction(aK, bv, 100)
382+ let bx = (aK - bw)
380383 if ((bp == br))
381384 then throw("Art sold out")
382385 else {
383- let bx = (bp + 1)
384- let by = lastBlock.timestamp
385- let bz = ((((((((((((((((((((((((((("Creator: " + ba) + ",
386+ let by = (bp + 1)
387+ let bz = lastBlock.timestamp
388+ let bA = ((((((((((((((((((((((((((("Creator: " + ba) + ",
386389 ArtID: ") + P) + ",
387390 SignID: ") + D) + ",
388391 Artwork name: ") + bk) + ",
389392 Artwork description: ") + aD) + ",
390- Issue: ") + toString(bx)) + "/") + toString(br)) + ",
393+ Issue: ") + toString(by)) + "/") + toString(br)) + ",
391394 Max issuable: ") + toString(br)) + ",
392395 Source hash: ") + bq) + ",
393396 Display cid: ") + bl) + ",
394397 Export cid: ") + bm) + ",
395398 Export hash: ") + bn) + ",
396399 Licence cid: ") + aA) + ",
397400 Licence hash: ") + aB)
398- let bA = Issue(("SA_" + toString((bj + 1))), bz, 1, 0, false)
399- let bB = calculateAssetId(bA)
400- let bC = if ((bx == br))
401+ let bB = Issue(("SA_" + toString((bj + 1))), bA, 1, 0, false)
402+ let bC = calculateAssetId(bB)
403+ let bD = if ((by == br))
401404 then false
402405 else true
403- let bD = if (if (if ((N == ba))
406+ let bE = if (if (if ((N == ba))
404407 then (bc != "")
405408 else false)
406409 then (bb != "")
407410 else false)
408411 then addressFromStringValue(bc)
409412 else aI.caller
410- let bE = [IntegerEntry(X(ba, P), bx), StringEntry(("nft_" + toBase58String(bB)), ((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), IntegerEntry("total_nft_issued", (bj + 1)), BooleanEntry(Y(ba, P), bC), bA, ScriptTransfer(Address(fromBase58String(ba)), bw, aL), ScriptTransfer(Address(fromBase58String(d)), bv, aL), ScriptTransfer(bD, 1, bB)]
411- let bF = StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((N + "_") + toString(by)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bB)))
413+ let bF = [IntegerEntry(X(ba, P), by), StringEntry(("nft_" + toBase58String(bC)), ((((((("art_sold_" + toString(by)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), IntegerEntry("total_nft_issued", (bj + 1)), BooleanEntry(Y(ba, P), bD), bB, ScriptTransfer(Address(fromBase58String(ba)), bx, aL), ScriptTransfer(Address(fromBase58String(d)), bw, aL), ScriptTransfer(bE, 1, bC)]
412414 let bG = if (!(isDefined(aL)))
413415 then "WAVES"
414416 else toBase58String(value(aL))
415417 let bH = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
416418 let bI = DeleteEntry((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
417419 let bJ = StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_CLOSED"), bH)
418- let bK = StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((toString(bD) + "_") + toString(by)) + "_") + bi) + "_") + toString(aK)) + "_") + bG) + "_") + toBase58String(bB)))
419- if (if (if ((N == ba))
420- then (bc != "")
421- else false)
422- then (bb != "")
423- else false)
424- then [bK, bJ, bI] :: bE
425- else bF :: bE
420+ let bK = if (!(bs))
421+ then ((((((((((N + "_") + toString(bz)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bC))
422+ else ((((((((((toString(bE) + "_") + toString(bz)) + "_") + bi) + "_") + toString(aK)) + "_") + bG) + "_") + toBase58String(bC))
423+ let bL = StringEntry(((((((("art_sold_" + toString(by)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), bK)
424+ if (bs)
425+ then [bL, bJ, bI] :: bF
426+ else bL :: bF
426427 }
427428 }
428429 }
429430 }
430431
431432
432433 @Callable(aI)
433-func addArtwork (F,D,aC,aD,aE,bL,aF,an,ar,ao,as,ap) = if (!(p))
434+func addArtwork (F,D,aC,aD,aE,bM,aF,an,ar,ao,as,ap) = if (!(p))
434435 then throw(q)
435436 else {
436437 let P = toBase58String(aI.transactionId)
437- let bM = lastBlock.timestamp
438+ let bN = lastBlock.timestamp
438439 let N = toBase58String(aI.caller.bytes)
439440 if (!(K(F)))
440441 then throw("Hash should be 64 characters maximum")
441442 else {
442- let bN = ay(ap, as)
443- let aA = bN._1
444- let aB = bN._2
445- let bO = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
446- if ((bO != ""))
443+ let bO = ay(ap, as)
444+ let aA = bO._1
445+ let aB = bO._2
446+ let bP = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
447+ if ((bP != ""))
447448 then throw("Something went wrong!")
448449 else {
449- let bP = aH(aI)
450- let aK = bP._1
451- let aL = bP._2
450+ let bQ = aH(aI)
451+ let aK = bQ._1
452+ let aL = bQ._2
452453 if (!(isDefined(aK)))
453454 then throw("Something went wrong")
454455 else {
455- let bQ = x(al(F, N))
456- if ((bQ != ""))
456+ let bR = x(al(F, N))
457+ if ((bR != ""))
457458 then throw("You already added it")
458459 else {
459- let bR = x(ai(F))
460- if ((bR != ""))
460+ let bS = x(ai(F))
461+ if ((bS != ""))
461462 then throw("Hash already registered")
462463 else {
463- let bS = C(D, N, F)
464- if (!(bS))
464+ let bT = C(D, N, F)
465+ if (!(bT))
465466 then throw("Sign Certificate not found for this address.")
466- else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bM), StringEntry(Q(N, P), aC), StringEntry(R(N, P), aD), StringEntry(S(N, P), an), StringEntry(U(N, P), ao), StringEntry(T(N, P), ar), StringEntry(Z(N, P), aB), StringEntry(aa(N, P), aA), StringEntry(ac(N, P), bL), StringEntry(ab(N, P), aE), IntegerEntry(V(N, P), aF), StringEntry(W(N, P), D), IntegerEntry(X(N, P), 0), BooleanEntry(Y(N, P), false), StringEntry(aj(N, D), P), StringEntry(ag(N, P), F), ScriptTransfer(Address(fromBase58String(d)), aK, aL)]
467+ else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bN), StringEntry(Q(N, P), aC), StringEntry(R(N, P), aD), StringEntry(S(N, P), an), StringEntry(U(N, P), ao), StringEntry(T(N, P), ar), StringEntry(Z(N, P), aB), StringEntry(aa(N, P), aA), StringEntry(ac(N, P), bM), StringEntry(ab(N, P), aE), IntegerEntry(V(N, P), aF), StringEntry(W(N, P), D), IntegerEntry(X(N, P), 0), BooleanEntry(Y(N, P), false), StringEntry(aj(N, D), P), StringEntry(ag(N, P), F), ScriptTransfer(Address(fromBase58String(d)), aK, aL)]
467468 }
468469 }
469470 }
470471 }
471472 }
472473 }
473474
474475
475476
476477 @Callable(aI)
477-func updateArtwork (ah,aC,aD,aE,bL,aF,an,ar,ao,as,ap) = if (!(p))
478+func updateArtwork (ah,aC,aD,aE,bM,aF,an,ar,ao,as,ap) = if (!(p))
478479 then throw(q)
479480 else {
480- let bT = toBase58String(aI.transactionId)
481+ let bU = toBase58String(aI.transactionId)
481482 let N = toBase58String(aI.caller.bytes)
482- let bU = ay(ap, as)
483- let aA = bU._1
484- let aB = bU._2
485- let bO = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
486- if ((bO != ""))
483+ let bV = ay(ap, as)
484+ let aA = bV._1
485+ let aB = bV._2
486+ let bP = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
487+ if ((bP != ""))
487488 then throw("Something went wrong!")
488489 else {
489- let bQ = x(Q(N, ah))
490- if ((bQ == ""))
490+ let bR = x(Q(N, ah))
491+ if ((bR == ""))
491492 then throw("Entry not found")
492493 else {
493- let bV = x(af(N, ah))
494- if ((bV == "ILLEGAL"))
494+ let bW = x(af(N, ah))
495+ if ((bW == "ILLEGAL"))
495496 then throw("Cannot update ILLEGAL artwork")
496497 else if (!(aN(N, ah)))
497- then [StringEntry(Q(N, ah), aC), StringEntry(R(N, ah), aD), StringEntry(S(N, ah), an), StringEntry(U(N, ah), ao), StringEntry(T(N, ah), ar), StringEntry(aa(N, ah), aA), StringEntry(Z(N, ah), aB), IntegerEntry(V(N, ah), aF), StringEntry(ab(N, ah), aE), StringEntry(ac(N, ah), bL)]
498+ then [StringEntry(Q(N, ah), aC), StringEntry(R(N, ah), aD), StringEntry(S(N, ah), an), StringEntry(U(N, ah), ao), StringEntry(T(N, ah), ar), StringEntry(aa(N, ah), aA), StringEntry(Z(N, ah), aB), IntegerEntry(V(N, ah), aF), StringEntry(ab(N, ah), aE), StringEntry(ac(N, ah), bM)]
498499 else throw("Already minted")
499500 }
500501 }
501502 }
502503
503504
504505
505506 @Callable(aI)
506-func flagArtwork (P,bW,bV) = {
507+func flagArtwork (P,bX,bW) = {
507508 let N = toString(addressFromPublicKey(aI.callerPublicKey))
508509 let bi = toBase58String(aI.transactionId)
509510 if (containsElement([j, k, toString(this)], N))
510- then if ((bV == "CONSENT"))
511- then [StringEntry(af(bW, P), bV)]
512- else if ((bV == ""))
513- then [StringEntry(af(bW, P), bV)]
514- else if ((bV == "ILLEGAL"))
515- then [StringEntry(af(bW, P), bV), StringEntry(Q(bW, P), "ILLEGAL CONTENT"), StringEntry(R(bW, P), "ILLEGAL CONTENT"), StringEntry(S(bW, P), ""), StringEntry(U(bW, P), ""), StringEntry(aa(bW, P), "")]
516- else throw(("Unknow status " + bV))
511+ then if ((bW == "CONSENT"))
512+ then [StringEntry(af(bX, P), bW)]
513+ else if ((bW == ""))
514+ then [StringEntry(af(bX, P), bW)]
515+ else if ((bW == "ILLEGAL"))
516+ then [StringEntry(af(bX, P), bW), StringEntry(Q(bX, P), "ILLEGAL CONTENT"), StringEntry(R(bX, P), "ILLEGAL CONTENT"), StringEntry(S(bX, P), ""), StringEntry(U(bX, P), ""), StringEntry(aa(bX, P), "")]
517+ else throw(("Unknow status " + bW))
517518 else throw("You are not allowed")
518519 }
519520
520521
521522
522523 @Callable(aI)
523-func deleteArtwork (P,bW) = {
524+func deleteArtwork (P,bX) = {
524525 let N = toString(addressFromPublicKey(aI.callerPublicKey))
525526 let bi = toBase58String(aI.transactionId)
526527 let aO = if (containsElement([j, k, toString(this)], N))
527- then bW
528+ then bX
528529 else N
529- let bQ = x(Q(aO, P))
530- if ((bQ == ""))
530+ let bR = x(Q(aO, P))
531+ if ((bR == ""))
531532 then throw("No art matching for this address")
532533 else {
533534 let F = x(ag(aO, P))
534535 if ((F == ""))
535536 then throw("No art hash matching for this address")
536537 else {
537538 let D = x(W(aO, P))
538539 if ((D == ""))
539540 then throw("No SIGN ID matching")
540541 else {
541- let bX = [DeleteEntry(O(aO, P)), DeleteEntry(Q(aO, P)), DeleteEntry(R(aO, P)), DeleteEntry(S(aO, P)), DeleteEntry(U(aO, P)), DeleteEntry(T(aO, P)), DeleteEntry(Z(aO, P)), DeleteEntry(aa(aO, P)), DeleteEntry(ac(aO, P)), DeleteEntry(ab(aO, P)), DeleteEntry(V(aO, P)), DeleteEntry(W(aO, P)), DeleteEntry(X(aO, P)), DeleteEntry(Y(aO, P)), DeleteEntry(af(bW, P)), DeleteEntry(ad(bW, P)), DeleteEntry(ae(bW, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aO, D)), DeleteEntry(al(F, aO))]
542+ let bY = [DeleteEntry(O(aO, P)), DeleteEntry(Q(aO, P)), DeleteEntry(R(aO, P)), DeleteEntry(S(aO, P)), DeleteEntry(U(aO, P)), DeleteEntry(T(aO, P)), DeleteEntry(Z(aO, P)), DeleteEntry(aa(aO, P)), DeleteEntry(ac(aO, P)), DeleteEntry(ab(aO, P)), DeleteEntry(V(aO, P)), DeleteEntry(W(aO, P)), DeleteEntry(X(aO, P)), DeleteEntry(Y(aO, P)), DeleteEntry(af(bX, P)), DeleteEntry(ad(bX, P)), DeleteEntry(ae(bX, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aO, D)), DeleteEntry(al(F, aO))]
542543 if (!(aN(aO, P)))
543544 then if (!(p))
544545 then throw(q)
545- else bX
546+ else bY
546547 else if (containsElement([j, toString(this)], N))
547- then bX
548+ then bY
548549 else throw("Art already minted, you cannot delete it")
549550 }
550551 }
551552 }
552553 }
553554
554555
555556
556557 @Callable(aI)
557-func sellArtwork (P,aV,bY,aL) = if (!(p))
558+func sellArtwork (P,aV,bZ,aL) = if (!(p))
558559 then throw(q)
559560 else {
560561 let bi = toBase58String(aI.transactionId)
561562 let N = toBase58String(aI.caller.bytes)
562- let bZ = lastBlock.timestamp
563+ let ca = lastBlock.timestamp
563564 let bk = x(Q(N, P))
564565 if ((bk == ""))
565566 then throw("This art doesn't match match your account")
566567 else {
567568 let bm = x(U(N, P))
568569 if ((size(split(bm, "/")[0]) != 59))
569570 then throw("You cannot sell art with no export file")
570571 else {
571572 let bn = x(T(N, P))
572573 if ((size(bn) != 64))
573574 then throw("You cannot sell art with no export hash")
574575 else if (!(aT(aL)))
575576 then throw("Something went wrong!")
576577 else if (!(aU(aL, aV)))
577578 then throw("Something went wrong!")
578579 else {
579580 let aG = aw(N)
580581 if ((aG != ""))
581582 then throw(aG)
582583 else {
583584 let bp = z(X(N, P))
584585 let br = z(V(N, P))
585- if ((bY > 10))
586+ if ((bZ > 10))
586587 then throw("10 editions max per artwork")
587588 else if (if ((bp != 0))
588589 then (bp == br)
589590 else false)
590591 then throw("Max edition reached.")
591592 else if (if ((bp > 0))
592- then (br != bY)
593+ then (br != bZ)
593594 else false)
594595 then throw("Cannot change maximum issuable anymore")
595596 else {
596- let bC = if (if ((aV > 0))
597- then (bY > 0)
597+ let bD = if (if ((aV > 0))
598+ then (bZ > 0)
598599 else false)
599600 then true
600601 else false
601-[BooleanEntry(Y(N, P), bC), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bY), StringEntry(ae(N, P), aL)]
602+[BooleanEntry(Y(N, P), bD), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bZ), StringEntry(ae(N, P), aL)]
602603 }
603604 }
604605 }
605606 }
606607 }
607608 }
608609
609610
610611
611612 @Callable(aI)
612613 func buyArtwork (P,ba) = if (!(p))
613614 then throw(q)
614615 else bh(aI, P, ba, "", "")
615616
616617
617618
618619 @Callable(aI)
619620 func setBid (P,ba) = if (!(p))
620621 then throw(q)
621622 else {
622623 let bi = toBase58String(aI.transactionId)
623624 let N = toBase58String(aI.caller.bytes)
624- let bM = lastBlock.timestamp
625+ let bN = lastBlock.timestamp
625626 if ((size(aI.payments) == 0))
626627 then throw("No payment attached")
627628 else {
628629 let aJ = value(aI.payments[0])
629630 let aK = value(aJ.amount)
630631 let aL = if (!(isDefined(aJ.assetId)))
631632 then "WAVES"
632633 else toBase58String(value(aJ.assetId))
633634 let bp = z(X(ba, P))
634635 let br = z(V(ba, P))
635636 if ((bp >= br))
636637 then throw("Sold out, you cannot bid")
637- else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bM)))]
638+ else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bN)))]
638639 }
639640 }
640641
641642
642643
643644 @Callable(aI)
644645 func acceptBid (P,ba,bb,bc) = if (!(p))
645646 then throw(q)
646647 else {
647648 let N = toBase58String(aI.caller.bytes)
648649 if ((N != ba))
649650 then throw("You cannot do this action")
650651 else bh(aI, P, ba, bb, bc)
651652 }
652653
653654
654655
655-@Callable(ca)
656-func deleteEntry (cb) = {
657- let N = toString(addressFromPublicKey(ca.callerPublicKey))
656+@Callable(cb)
657+func deleteEntry (cc) = {
658+ let N = toString(addressFromPublicKey(cb.callerPublicKey))
658659 if ((N == j))
659- then [DeleteEntry(cb)]
660+ then [DeleteEntry(cc)]
660661 else throw("no")
661662 }
662663
663664

github/deemru/w8io/169f3d6 
141.89 ms