tx · H7AeKS4Cm7VfRfjprwWBVb8E4x9NofobpVgsHhP5wugN

3MvyCoT337XEvQMiYqT2GRPiRjAPTV2b2BC:  -0.01000000 Waves

2021.09.16 03:29 [1704877] smart account 3MvyCoT337XEvQMiYqT2GRPiRjAPTV2b2BC > SELF 0.00000000 Waves

{ "type": 13, "id": "H7AeKS4Cm7VfRfjprwWBVb8E4x9NofobpVgsHhP5wugN", "fee": 1000000, "feeAssetId": null, "timestamp": 1631752222538, "version": 2, "chainId": 84, "sender": "3MvyCoT337XEvQMiYqT2GRPiRjAPTV2b2BC", "senderPublicKey": "Db4QRFa9ER3S2UFi8o7vf9pE57r4rXfUPTmD5o14Bdk5", "proofs": [ "4H7eKiddCgHHoeAeNCu7fwtfsQx8TBayyjCouKiaG2aDb33PMzFWCQ7wAhZK8HNondwdeXkaFk8Mg1eAv7x5cRME" ], "script": "base64:AAIFAAAAAAAAAN4IAhIFCgMICAgaBwoCYTESAWkaDAoCYTISBmFjdGlvbhoKCgJhMxIEdHlwZRoRCgJhNBILdmFsdWVBY3Rpb24aEwoCYTUSDXRyYW5zYWN0aW9uSWQaEAoCYTYSCmN1cnJlbnRLZXkaDwoCYTcSCXBheUFtb3VudBoVCgJhOBIPY3VycmVudEtleUJ5dGVzGg0KAmE5EgduYW1lTmZ0GhAKAmIxEgpoaXN0b3JpY0lkGg0KAmIyEgckbWF0Y2gwGgcKAmIzEgF0GhUKAmI0Eg9pbml0aWFsUG93ZXJOZnQAAAAAAAAAAQAAAAJhMQEAAAAFc3RhcnQAAAADAAAAAmEyAAAAAmEzAAAAAmE0BAAAAAJhNQkAAlgAAAABCAUAAAACYTEAAAANdHJhbnNhY3Rpb25JZAQAAAACYTYIBQAAAAJhMQAAAAZjYWxsZXIEAAAAAmE3CQEAAAAFdmFsdWUAAAABCAkAAZEAAAACCAUAAAACYTEAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAAJhOAkAAlgAAAABCAgFAAAAAmExAAAABmNhbGxlcgAAAAVieXRlcwQAAAACYTkJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAFfCQABLwAAAAIFAAAAAmE1AAAAAAAAAAAKAgAAAAFfBQAAAAJhOAIAAAABXwUAAAACYTUEAAAAAmIxBAAAAAJiMgkABBoAAAACBQAAAAR0aGlzAgAAAApoaXN0b3JpY0lkAwkAAAEAAAACBQAAAAJiMgIAAAADSW50BAAAAAJiMwUAAAACYjIFAAAAAmIzAAAAAAAAAAAABAAAAAJiNAQAAAACYjIJAAQaAAAAAgUAAAAEdGhpcwUAAAACYTMDCQAAAQAAAAIFAAAAAmIyAgAAAANJbnQEAAAAAmIzBQAAAAJiMgUAAAACYjMAAAAAAAAAAGQDCQAAAAAAAAIFAAAAAmEyAgAAAAdCdXkgTkZUCQAETAAAAAIJAARCAAAABQkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAFfCQABLwAAAAIFAAAAAmE1AAAAAAAAAAAKAgAAAAAAAAAAAAAAAAEAAAAAAAAAAAAHCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAAJhOQUAAAACYjQFAAAAA25pbAMJAAAAAAAAAgUAAAACYTICAAAACFNlbmQgTkZUCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTFwhpX0MnELPIc/ND+BMtaKCKDGihcfGMAAAAAAAAAAAEJAAGbAAAAAQUAAAACYTQFAAAAA25pbAkAAAIAAAABAgAAAD1Ow6NvIGZvaSBwb3NzaXZlbCBjcmlhciBzZXUgTkZULiBWZXJpZmlxdWUgc3VhIHNvbGljaXRhw6fDo28hAAAAAJZ5uqo=", "height": 1704877, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5nSsBqULq22xnsyGhkFC7hszGLLtj1NB3dqMMoVCpKa9 Next: Fitmqobr1SZ4wLCVj7rGJxuA4UQpF7VvHvbFDJ3KsSWL Diff:
OldNewDifferences
2525 if ((action == "Buy NFT"))
2626 then [Issue(((type + "_") + take(transactionId, 10)), "", 1, 0, false), IntegerEntry(nameNft, initialPowerNft)]
2727 else if ((action == "Send NFT"))
28- then [ScriptTransfer(Address(toBytes(type)), 1, toBytes(valueAction))]
28+ then [ScriptTransfer(Address(base58'3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx'), 1, toBytes(valueAction))]
2929 else throw("Não foi possivel criar seu NFT. Verifique sua solicitação!")
3030 }
3131
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func start (action,type,valueAction) = {
88 let transactionId = toBase58String(i.transactionId)
99 let currentKey = i.caller
1010 let payAmount = value(i.payments[0].amount)
1111 let currentKeyBytes = toBase58String(i.caller.bytes)
1212 let nameNft = ((((((type + "_") + take(transactionId, 10)) + "_") + currentKeyBytes) + "_") + transactionId)
1313 let historicId = match getInteger(this, "historicId") {
1414 case t: Int =>
1515 t
1616 case _ =>
1717 0
1818 }
1919 let initialPowerNft = match getInteger(this, type) {
2020 case t: Int =>
2121 t
2222 case _ =>
2323 100
2424 }
2525 if ((action == "Buy NFT"))
2626 then [Issue(((type + "_") + take(transactionId, 10)), "", 1, 0, false), IntegerEntry(nameNft, initialPowerNft)]
2727 else if ((action == "Send NFT"))
28- then [ScriptTransfer(Address(toBytes(type)), 1, toBytes(valueAction))]
28+ then [ScriptTransfer(Address(base58'3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx'), 1, toBytes(valueAction))]
2929 else throw("Não foi possivel criar seu NFT. Verifique sua solicitação!")
3030 }
3131
3232

github/deemru/w8io/026f985 
24.98 ms