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