tx · JHcCVMcn3iMLvxsKpyqeCwV8EURPtobjBL4UBam74oV

3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL:  -0.01400000 Waves

2021.01.22 12:50 [1364495] smart account 3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL > SELF 0.00000000 Waves

{ "type": 13, "id": "JHcCVMcn3iMLvxsKpyqeCwV8EURPtobjBL4UBam74oV", "fee": 1400000, "feeAssetId": null, "timestamp": 1611309029202, "version": 2, "chainId": 84, "sender": "3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL", "senderPublicKey": "7irc2VpK5czoyVdwrCuQqr2JU9ZaZnEZn8RPChnfi3yL", "proofs": [ "3cc3eE3n3V5BA1d3cARbyvHyx4igzBxMyW6UpGiLAnG4jqVnvt1K2asHyn2kKUaapt4N8vZEC3XZZmZMEuSFZWx2" ], "script": "base64:AAIEAAAAAAAAAE8IAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgSBAoCCAgSBgoECAgICBIDCgEIAAAAQQAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAACHNpZ25EYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAtmZWVSZWNlaXZlcgIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAACHVzZXJEYXBwAwUAAAAIdW5pdFRlc3QJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM010NFJHTUV5alNXWUFvY1RQcWQ1NXdkSFFRQjNQVTJVQ20JAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM013RF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B0aGlzIGFjdGlvbgkBAAAAB2J1eU1pbnQAAAAFBQAAAAZpbnZva2UFAAAABWFydElkBQAAAAZpc3N1ZXIFAAAABWJpZElkBQAAAAhiaWRPd25lcgAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAAFZW50cnkEAAAABmNhbGxlcgkABCUAAAABCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAABmNhbGxlcgUAAAAFY2hyaXMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAFZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAACCO0yB", "height": 1364495, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FE9JwF3eyeq7GYhNXASZuhuWpQiD1iuYQD7TkqGhSEVp Next: FWXifTrx8ecoDmzXr4Paq4RPEUx7qjnWPXss2jMJimEK Diff:
OldNewDifferences
324324 let bf = parseIntValue(be[1])
325325 let bg = if ((be[0] == "WAVES"))
326326 then unit
327- else toBytes(be[0])
328- if (true)
329- then throw(toBase58String(value(bg)))
330- else if ((0 >= bf))
331- then throw("Wrong amount")
332- else $Tuple2(bf, bg)
327+ else fromBase58String(be[0])
328+ if ((0 >= bf))
329+ then throw("Wrong amount")
330+ else $Tuple2(bf, bg)
333331 }
334332 }
335333
409407 else false)
410408 then addressFromStringValue(bc)
411409 else aI.caller
412- let bE = aZ(P, ba, bb, bc)
413- let bF = bE._1
414- let bG = bE._2
415- if (true)
416- then throw(((((((("assetID= " + toBase58String(value(bG))) + " amountForCreator= ") + toString(bw)) + " amountForSign= ") + toString(bv)) + " NFT ID= ") + toBase58String(bB)))
417- else {
418- let bH = [IntegerEntry(X(ba, P), bx), StringEntry(("nft_" + toBase58String(bB)), ((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((N + "_") + toString(by)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bB))), 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)]
419- if (if (if ((N == ba))
420- then (bc != "")
421- else false)
422- then (bb != "")
423- else false)
424- then {
425- let bI = if ((aL == unit))
426- then "WAVES"
427- else toBase58String(value(aL))
428- let bJ = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
429- let bK = DeleteEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"))
430- let bL = StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_CLOSED"), bJ)
431-[bL, bK] :: bH
432- }
433- else bH
434- }
410+ if (isDefined(aL))
411+ then throw(((((((("assetID= " + toBase58String(value(aL))) + " amountForCreator= ") + toString(bw)) + " amountForSign= ") + toString(bv)) + " NFT ID= ") + toBase58String(bB)))
412+ else if (!(isDefined(aL)))
413+ then throw(((((((("assetID= " + toBase58String(value(aL))) + " amountForCreator= ") + toString(bw)) + " amountForSign= ") + toString(bv)) + " NFT ID= ") + toBase58String(bB)))
414+ else {
415+ let bE = [IntegerEntry(X(ba, P), bx), StringEntry(("nft_" + toBase58String(bB)), ((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((N + "_") + toString(by)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bB))), 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)]
416+ if (if (if ((N == ba))
417+ then (bc != "")
418+ else false)
419+ then (bb != "")
420+ else false)
421+ then {
422+ let bF = if ((aL == unit))
423+ then "WAVES"
424+ else toBase58String(value(aL))
425+ let bG = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
426+ let bH = DeleteEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"))
427+ let bI = StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_CLOSED"), bG)
428+[bI, bH] :: bE
429+ }
430+ else bE
431+ }
435432 }
436433 }
437434 }
439436
440437
441438 @Callable(aI)
442-func addArtwork (F,D,aC,aD,aE,bM,aF,an,ar,ao,as,ap) = if (!(p))
439+func addArtwork (F,D,aC,aD,aE,bJ,aF,an,ar,ao,as,ap) = if (!(p))
443440 then throw(q)
444441 else {
445442 let P = toBase58String(aI.transactionId)
446- let bN = lastBlock.timestamp
443+ let bK = lastBlock.timestamp
447444 let N = toBase58String(aI.caller.bytes)
448445 if (!(K(F)))
449446 then throw("Hash should be 64 characters maximum")
450447 else {
451- let bO = ay(ap, as)
452- let aA = bO._1
453- let aB = bO._2
454- let bP = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
455- if ((bP != ""))
448+ let bL = ay(ap, as)
449+ let aA = bL._1
450+ let aB = bL._2
451+ let bM = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
452+ if ((bM != ""))
456453 then throw("Something went wrong!")
457454 else {
458- let bQ = aH(aI)
459- let aK = bQ._1
460- let aL = bQ._2
455+ let bN = aH(aI)
456+ let aK = bN._1
457+ let aL = bN._2
461458 if (!(isDefined(aK)))
462459 then throw("Something went wrong")
463460 else {
464- let bR = x(al(F, N))
465- if ((bR != ""))
461+ let bO = x(al(F, N))
462+ if ((bO != ""))
466463 then throw("You already added it")
467464 else {
468- let bS = x(ai(F))
469- if ((bS != ""))
465+ let bP = x(ai(F))
466+ if ((bP != ""))
470467 then throw("Hash already registered")
471468 else {
472- let bT = C(D, N, F)
473- if (!(bT))
469+ let bQ = C(D, N, F)
470+ if (!(bQ))
474471 then throw("Sign Certificate not found for this address.")
475- 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)]
472+ else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bK), 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), bJ), 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)]
476473 }
477474 }
478475 }
483480
484481
485482 @Callable(aI)
486-func updateArtwork (ah,aC,aD,aE,bM,aF,an,ar,ao,as,ap) = if (!(p))
483+func updateArtwork (ah,aC,aD,aE,bJ,aF,an,ar,ao,as,ap) = if (!(p))
487484 then throw(q)
488485 else {
489- let bU = toBase58String(aI.transactionId)
486+ let bR = toBase58String(aI.transactionId)
490487 let N = toBase58String(aI.caller.bytes)
491- let bV = ay(ap, as)
492- let aA = bV._1
493- let aB = bV._2
494- let bP = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
495- if ((bP != ""))
488+ let bS = ay(ap, as)
489+ let aA = bS._1
490+ let aB = bS._2
491+ let bM = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
492+ if ((bM != ""))
496493 then throw("Something went wrong!")
497494 else {
498- let bR = x(Q(N, ah))
499- if ((bR == ""))
495+ let bO = x(Q(N, ah))
496+ if ((bO == ""))
500497 then throw("Entry not found")
501498 else {
502- let bW = x(af(N, ah))
503- if ((bW == "ILLEGAL"))
499+ let bT = x(af(N, ah))
500+ if ((bT == "ILLEGAL"))
504501 then throw("Cannot update ILLEGAL artwork")
505502 else if (!(aN(N, ah)))
506- 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)]
503+ 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), bJ)]
507504 else throw("Already minted")
508505 }
509506 }
512509
513510
514511 @Callable(aI)
515-func flagArtwork (P,bX,bW) = {
512+func flagArtwork (P,bU,bT) = {
516513 let N = toString(addressFromPublicKey(aI.callerPublicKey))
517514 let bi = toBase58String(aI.transactionId)
518515 if (containsElement([j, k, toString(this)], N))
519- then if ((bW == "CONSENT"))
520- then [StringEntry(af(bX, P), bW)]
521- else if ((bW == ""))
522- then [StringEntry(af(bX, P), bW)]
523- else if ((bW == "ILLEGAL"))
524- 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), "")]
525- else throw(("Unknow status " + bW))
516+ then if ((bT == "CONSENT"))
517+ then [StringEntry(af(bU, P), bT)]
518+ else if ((bT == ""))
519+ then [StringEntry(af(bU, P), bT)]
520+ else if ((bT == "ILLEGAL"))
521+ then [StringEntry(af(bU, P), bT), StringEntry(Q(bU, P), "ILLEGAL CONTENT"), StringEntry(R(bU, P), "ILLEGAL CONTENT"), StringEntry(S(bU, P), ""), StringEntry(U(bU, P), ""), StringEntry(aa(bU, P), "")]
522+ else throw(("Unknow status " + bT))
526523 else throw("You are not allowed")
527524 }
528525
529526
530527
531528 @Callable(aI)
532-func deleteArtwork (P,bX) = {
529+func deleteArtwork (P,bU) = {
533530 let N = toString(addressFromPublicKey(aI.callerPublicKey))
534531 let bi = toBase58String(aI.transactionId)
535532 let aO = if (containsElement([j, k, toString(this)], N))
536- then bX
533+ then bU
537534 else N
538- let bR = x(Q(aO, P))
539- if ((bR == ""))
535+ let bO = x(Q(aO, P))
536+ if ((bO == ""))
540537 then throw("No art matching for this address")
541538 else {
542539 let F = x(ag(aO, P))
547544 if ((D == ""))
548545 then throw("No SIGN ID matching")
549546 else {
550- 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))]
547+ let bV = [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(bU, P)), DeleteEntry(ad(bU, P)), DeleteEntry(ae(bU, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aO, D)), DeleteEntry(al(F, aO))]
551548 if (!(aN(aO, P)))
552549 then if (!(p))
553550 then throw(q)
554- else bY
551+ else bV
555552 else if (containsElement([j, toString(this)], N))
556- then bY
553+ then bV
557554 else throw("Art already minted, you cannot delete it")
558555 }
559556 }
563560
564561
565562 @Callable(aI)
566-func sellArtwork (P,aV,bZ,aL) = if (!(p))
563+func sellArtwork (P,aV,bW,aL) = if (!(p))
567564 then throw(q)
568565 else {
569566 let bi = toBase58String(aI.transactionId)
570567 let N = toBase58String(aI.caller.bytes)
571- let ca = lastBlock.timestamp
568+ let bX = lastBlock.timestamp
572569 let bk = x(Q(N, P))
573570 if ((bk == ""))
574571 then throw("This art doesn't match match your account")
591588 else {
592589 let bp = z(X(N, P))
593590 let br = z(V(N, P))
594- if ((bZ > 10))
591+ if ((bW > 10))
595592 then throw("10 editions max per artwork")
596593 else if (if ((bp != 0))
597594 then (bp == br)
598595 else false)
599596 then throw("Max edition reached.")
600597 else if (if ((bp > 0))
601- then (br != bZ)
598+ then (br != bW)
602599 else false)
603600 then throw("Cannot change maximum issuable anymore")
604601 else {
605602 let bC = if (if ((aV > 0))
606- then (bZ > 0)
603+ then (bW > 0)
607604 else false)
608605 then true
609606 else false
610-[BooleanEntry(Y(N, P), bC), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bZ), StringEntry(ae(N, P), aL)]
607+[BooleanEntry(Y(N, P), bC), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bW), StringEntry(ae(N, P), aL)]
611608 }
612609 }
613610 }
630627 else {
631628 let bi = toBase58String(aI.transactionId)
632629 let N = toBase58String(aI.caller.bytes)
633- let bN = lastBlock.timestamp
630+ let bK = lastBlock.timestamp
634631 if ((size(aI.payments) == 0))
635632 then throw("No payment attached")
636633 else {
643640 let br = z(V(ba, P))
644641 if ((bp >= br))
645642 then throw("Sold out, you cannot bid")
646- else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bN)))]
643+ else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bK)))]
647644 }
648645 }
649646
661658
662659
663660
664-@Callable(cb)
665-func deleteEntry (cc) = {
666- let N = toString(addressFromPublicKey(cb.callerPublicKey))
661+@Callable(bY)
662+func deleteEntry (bZ) = {
663+ let N = toString(addressFromPublicKey(bY.callerPublicKey))
667664 if ((N == j))
668- then [DeleteEntry(cc)]
665+ then [DeleteEntry(bZ)]
669666 else throw("no")
670667 }
671668
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 (!(isDefined(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
327- else toBytes(be[0])
328- if (true)
329- then throw(toBase58String(value(bg)))
330- else if ((0 >= bf))
331- then throw("Wrong amount")
332- else $Tuple2(bf, bg)
327+ else fromBase58String(be[0])
328+ if ((0 >= bf))
329+ then throw("Wrong amount")
330+ else $Tuple2(bf, bg)
333331 }
334332 }
335333
336334
337335 func bh (aI,P,ba,bb,bc) = {
338336 let bi = toBase58String(aI.transactionId)
339337 let N = toBase58String(aI.caller.bytes)
340338 let bj = z("total_nft_issued")
341339 let D = x(W(ba, P))
342340 let bk = x(Q(ba, P))
343341 if ((bk == ""))
344342 then throw("Art doesn't exist")
345343 else {
346344 let bl = x(S(ba, P))
347345 let bm = x(U(ba, P))
348346 let bn = x(T(ba, P))
349347 let aA = x(aa(ba, P))
350348 let aB = x(Z(ba, P))
351349 let aD = take(x(R(ba, P)), 50)
352350 let bo = B(Y(ba, P))
353351 let bp = z(X(ba, P))
354352 let aS = z(ad(ba, P))
355353 let aR = x(ae(ba, P))
356354 let bq = x(ag(ba, P))
357355 let br = z(V(ba, P))
358356 if (if (if ((0 >= aS))
359357 then true
360358 else !(bo))
361359 then true
362360 else (0 >= br))
363361 then throw("Art not for sale")
364362 else {
365363 let bs = if (if (if ((N == ba))
366364 then (bc != "")
367365 else false)
368366 then (bb != "")
369367 else false)
370368 then aZ(P, ba, bb, bc)
371369 else aQ(aI, aR, aS)
372370 let aK = bs._1
373371 let aL = bs._2
374372 let bt = A(ba)
375373 let bu = if ((bt > height))
376374 then 0
377375 else if ((aR == toBase58String(g)))
378376 then l
379377 else m
380378 let bv = fraction(aK, bu, 100)
381379 let bw = (aK - bv)
382380 if ((bp == br))
383381 then throw("Art sold out")
384382 else {
385383 let bx = (bp + 1)
386384 let by = lastBlock.timestamp
387385 let bz = ((((((((((((((((((((((((((("Creator: " + ba) + ",
388386 ArtID: ") + P) + ",
389387 SignID: ") + D) + ",
390388 Artwork name: ") + bk) + ",
391389 Artwork description: ") + aD) + ",
392390 Issue: ") + toString(bx)) + "/") + toString(br)) + ",
393391 Max issuable: ") + toString(br)) + ",
394392 Source hash: ") + bq) + ",
395393 Display cid: ") + bl) + ",
396394 Export cid: ") + bm) + ",
397395 Export hash: ") + bn) + ",
398396 Licence cid: ") + aA) + ",
399397 Licence hash: ") + aB)
400398 let bA = Issue(("SA_" + toString((bj + 1))), bz, 1, 0, false)
401399 let bB = calculateAssetId(bA)
402400 let bC = if ((bx == br))
403401 then false
404402 else true
405403 let bD = if (if (if ((N == ba))
406404 then (bc != "")
407405 else false)
408406 then (bb != "")
409407 else false)
410408 then addressFromStringValue(bc)
411409 else aI.caller
412- let bE = aZ(P, ba, bb, bc)
413- let bF = bE._1
414- let bG = bE._2
415- if (true)
416- then throw(((((((("assetID= " + toBase58String(value(bG))) + " amountForCreator= ") + toString(bw)) + " amountForSign= ") + toString(bv)) + " NFT ID= ") + toBase58String(bB)))
417- else {
418- let bH = [IntegerEntry(X(ba, P), bx), StringEntry(("nft_" + toBase58String(bB)), ((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((N + "_") + toString(by)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bB))), 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)]
419- if (if (if ((N == ba))
420- then (bc != "")
421- else false)
422- then (bb != "")
423- else false)
424- then {
425- let bI = if ((aL == unit))
426- then "WAVES"
427- else toBase58String(value(aL))
428- let bJ = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
429- let bK = DeleteEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"))
430- let bL = StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_CLOSED"), bJ)
431-[bL, bK] :: bH
432- }
433- else bH
434- }
410+ if (isDefined(aL))
411+ then throw(((((((("assetID= " + toBase58String(value(aL))) + " amountForCreator= ") + toString(bw)) + " amountForSign= ") + toString(bv)) + " NFT ID= ") + toBase58String(bB)))
412+ else if (!(isDefined(aL)))
413+ then throw(((((((("assetID= " + toBase58String(value(aL))) + " amountForCreator= ") + toString(bw)) + " amountForSign= ") + toString(bv)) + " NFT ID= ") + toBase58String(bB)))
414+ else {
415+ let bE = [IntegerEntry(X(ba, P), bx), StringEntry(("nft_" + toBase58String(bB)), ((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba)), StringEntry(((((((("art_sold_" + toString(bx)) + "_of_") + toString(br)) + "_") + P) + "_") + ba), ((((((((((N + "_") + toString(by)) + "_") + bi) + "_") + toString(aS)) + "_") + aR) + "_") + toBase58String(bB))), 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)]
416+ if (if (if ((N == ba))
417+ then (bc != "")
418+ else false)
419+ then (bb != "")
420+ else false)
421+ then {
422+ let bF = if ((aL == unit))
423+ then "WAVES"
424+ else toBase58String(value(aL))
425+ let bG = x((((((((("bid_" + P) + "_") + ba) + "_") + bc) + "_") + bb) + "_OPEN"))
426+ let bH = DeleteEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"))
427+ let bI = StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_CLOSED"), bG)
428+[bI, bH] :: bE
429+ }
430+ else bE
431+ }
435432 }
436433 }
437434 }
438435 }
439436
440437
441438 @Callable(aI)
442-func addArtwork (F,D,aC,aD,aE,bM,aF,an,ar,ao,as,ap) = if (!(p))
439+func addArtwork (F,D,aC,aD,aE,bJ,aF,an,ar,ao,as,ap) = if (!(p))
443440 then throw(q)
444441 else {
445442 let P = toBase58String(aI.transactionId)
446- let bN = lastBlock.timestamp
443+ let bK = lastBlock.timestamp
447444 let N = toBase58String(aI.caller.bytes)
448445 if (!(K(F)))
449446 then throw("Hash should be 64 characters maximum")
450447 else {
451- let bO = ay(ap, as)
452- let aA = bO._1
453- let aB = bO._2
454- let bP = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
455- if ((bP != ""))
448+ let bL = ay(ap, as)
449+ let aA = bL._1
450+ let aB = bL._2
451+ let bM = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
452+ if ((bM != ""))
456453 then throw("Something went wrong!")
457454 else {
458- let bQ = aH(aI)
459- let aK = bQ._1
460- let aL = bQ._2
455+ let bN = aH(aI)
456+ let aK = bN._1
457+ let aL = bN._2
461458 if (!(isDefined(aK)))
462459 then throw("Something went wrong")
463460 else {
464- let bR = x(al(F, N))
465- if ((bR != ""))
461+ let bO = x(al(F, N))
462+ if ((bO != ""))
466463 then throw("You already added it")
467464 else {
468- let bS = x(ai(F))
469- if ((bS != ""))
465+ let bP = x(ai(F))
466+ if ((bP != ""))
470467 then throw("Hash already registered")
471468 else {
472- let bT = C(D, N, F)
473- if (!(bT))
469+ let bQ = C(D, N, F)
470+ if (!(bQ))
474471 then throw("Sign Certificate not found for this address.")
475- 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)]
472+ else [StringEntry(ai(F), N), StringEntry(al(F, N), P), IntegerEntry(O(N, P), bK), 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), bJ), 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)]
476473 }
477474 }
478475 }
479476 }
480477 }
481478 }
482479
483480
484481
485482 @Callable(aI)
486-func updateArtwork (ah,aC,aD,aE,bM,aF,an,ar,ao,as,ap) = if (!(p))
483+func updateArtwork (ah,aC,aD,aE,bJ,aF,an,ar,ao,as,ap) = if (!(p))
487484 then throw(q)
488485 else {
489- let bU = toBase58String(aI.transactionId)
486+ let bR = toBase58String(aI.transactionId)
490487 let N = toBase58String(aI.caller.bytes)
491- let bV = ay(ap, as)
492- let aA = bV._1
493- let aB = bV._2
494- let bP = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
495- if ((bP != ""))
488+ let bS = ay(ap, as)
489+ let aA = bS._1
490+ let aB = bS._2
491+ let bM = az(N, an, ao, aA, ar, aB, aC, aD, aE, aF)
492+ if ((bM != ""))
496493 then throw("Something went wrong!")
497494 else {
498- let bR = x(Q(N, ah))
499- if ((bR == ""))
495+ let bO = x(Q(N, ah))
496+ if ((bO == ""))
500497 then throw("Entry not found")
501498 else {
502- let bW = x(af(N, ah))
503- if ((bW == "ILLEGAL"))
499+ let bT = x(af(N, ah))
500+ if ((bT == "ILLEGAL"))
504501 then throw("Cannot update ILLEGAL artwork")
505502 else if (!(aN(N, ah)))
506- 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)]
503+ 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), bJ)]
507504 else throw("Already minted")
508505 }
509506 }
510507 }
511508
512509
513510
514511 @Callable(aI)
515-func flagArtwork (P,bX,bW) = {
512+func flagArtwork (P,bU,bT) = {
516513 let N = toString(addressFromPublicKey(aI.callerPublicKey))
517514 let bi = toBase58String(aI.transactionId)
518515 if (containsElement([j, k, toString(this)], N))
519- then if ((bW == "CONSENT"))
520- then [StringEntry(af(bX, P), bW)]
521- else if ((bW == ""))
522- then [StringEntry(af(bX, P), bW)]
523- else if ((bW == "ILLEGAL"))
524- 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), "")]
525- else throw(("Unknow status " + bW))
516+ then if ((bT == "CONSENT"))
517+ then [StringEntry(af(bU, P), bT)]
518+ else if ((bT == ""))
519+ then [StringEntry(af(bU, P), bT)]
520+ else if ((bT == "ILLEGAL"))
521+ then [StringEntry(af(bU, P), bT), StringEntry(Q(bU, P), "ILLEGAL CONTENT"), StringEntry(R(bU, P), "ILLEGAL CONTENT"), StringEntry(S(bU, P), ""), StringEntry(U(bU, P), ""), StringEntry(aa(bU, P), "")]
522+ else throw(("Unknow status " + bT))
526523 else throw("You are not allowed")
527524 }
528525
529526
530527
531528 @Callable(aI)
532-func deleteArtwork (P,bX) = {
529+func deleteArtwork (P,bU) = {
533530 let N = toString(addressFromPublicKey(aI.callerPublicKey))
534531 let bi = toBase58String(aI.transactionId)
535532 let aO = if (containsElement([j, k, toString(this)], N))
536- then bX
533+ then bU
537534 else N
538- let bR = x(Q(aO, P))
539- if ((bR == ""))
535+ let bO = x(Q(aO, P))
536+ if ((bO == ""))
540537 then throw("No art matching for this address")
541538 else {
542539 let F = x(ag(aO, P))
543540 if ((F == ""))
544541 then throw("No art hash matching for this address")
545542 else {
546543 let D = x(W(aO, P))
547544 if ((D == ""))
548545 then throw("No SIGN ID matching")
549546 else {
550- 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))]
547+ let bV = [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(bU, P)), DeleteEntry(ad(bU, P)), DeleteEntry(ae(bU, P)), DeleteEntry(ai(F)), DeleteEntry(aj(aO, D)), DeleteEntry(al(F, aO))]
551548 if (!(aN(aO, P)))
552549 then if (!(p))
553550 then throw(q)
554- else bY
551+ else bV
555552 else if (containsElement([j, toString(this)], N))
556- then bY
553+ then bV
557554 else throw("Art already minted, you cannot delete it")
558555 }
559556 }
560557 }
561558 }
562559
563560
564561
565562 @Callable(aI)
566-func sellArtwork (P,aV,bZ,aL) = if (!(p))
563+func sellArtwork (P,aV,bW,aL) = if (!(p))
567564 then throw(q)
568565 else {
569566 let bi = toBase58String(aI.transactionId)
570567 let N = toBase58String(aI.caller.bytes)
571- let ca = lastBlock.timestamp
568+ let bX = lastBlock.timestamp
572569 let bk = x(Q(N, P))
573570 if ((bk == ""))
574571 then throw("This art doesn't match match your account")
575572 else {
576573 let bm = x(U(N, P))
577574 if ((size(split(bm, "/")[0]) != 59))
578575 then throw("You cannot sell art with no export file")
579576 else {
580577 let bn = x(T(N, P))
581578 if ((size(bn) != 64))
582579 then throw("You cannot sell art with no export hash")
583580 else if (!(aT(aL)))
584581 then throw("Something went wrong!")
585582 else if (!(aU(aL, aV)))
586583 then throw("Something went wrong!")
587584 else {
588585 let aG = aw(N)
589586 if ((aG != ""))
590587 then throw(aG)
591588 else {
592589 let bp = z(X(N, P))
593590 let br = z(V(N, P))
594- if ((bZ > 10))
591+ if ((bW > 10))
595592 then throw("10 editions max per artwork")
596593 else if (if ((bp != 0))
597594 then (bp == br)
598595 else false)
599596 then throw("Max edition reached.")
600597 else if (if ((bp > 0))
601- then (br != bZ)
598+ then (br != bW)
602599 else false)
603600 then throw("Cannot change maximum issuable anymore")
604601 else {
605602 let bC = if (if ((aV > 0))
606- then (bZ > 0)
603+ then (bW > 0)
607604 else false)
608605 then true
609606 else false
610-[BooleanEntry(Y(N, P), bC), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bZ), StringEntry(ae(N, P), aL)]
607+[BooleanEntry(Y(N, P), bC), IntegerEntry(ad(N, P), aV), IntegerEntry(V(N, P), bW), StringEntry(ae(N, P), aL)]
611608 }
612609 }
613610 }
614611 }
615612 }
616613 }
617614
618615
619616
620617 @Callable(aI)
621618 func buyArtwork (P,ba) = if (!(p))
622619 then throw(q)
623620 else bh(aI, P, ba, "", "")
624621
625622
626623
627624 @Callable(aI)
628625 func setBid (P,ba) = if (!(p))
629626 then throw(q)
630627 else {
631628 let bi = toBase58String(aI.transactionId)
632629 let N = toBase58String(aI.caller.bytes)
633- let bN = lastBlock.timestamp
630+ let bK = lastBlock.timestamp
634631 if ((size(aI.payments) == 0))
635632 then throw("No payment attached")
636633 else {
637634 let aJ = value(aI.payments[0])
638635 let aK = value(aJ.amount)
639636 let aL = if (!(isDefined(aJ.assetId)))
640637 then "WAVES"
641638 else toBase58String(value(aJ.assetId))
642639 let bp = z(X(ba, P))
643640 let br = z(V(ba, P))
644641 if ((bp >= br))
645642 then throw("Sold out, you cannot bid")
646- else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bN)))]
643+ else [StringEntry((((((((("bid_" + P) + "_") + ba) + "_") + N) + "_") + bi) + "_OPEN"), ((((aL + "_") + toString(aK)) + "_") + toString(bK)))]
647644 }
648645 }
649646
650647
651648
652649 @Callable(aI)
653650 func acceptBid (P,ba,bb,bc) = if (!(p))
654651 then throw(q)
655652 else {
656653 let N = toBase58String(aI.caller.bytes)
657654 if ((N != ba))
658655 then throw("You cannot do this action")
659656 else bh(aI, P, ba, bb, bc)
660657 }
661658
662659
663660
664-@Callable(cb)
665-func deleteEntry (cc) = {
666- let N = toString(addressFromPublicKey(cb.callerPublicKey))
661+@Callable(bY)
662+func deleteEntry (bZ) = {
663+ let N = toString(addressFromPublicKey(bY.callerPublicKey))
667664 if ((N == j))
668- then [DeleteEntry(cc)]
665+ then [DeleteEntry(bZ)]
669666 else throw("no")
670667 }
671668
672669

github/deemru/w8io/169f3d6 
146.65 ms