tx · 4yLv1fMY9jV1sGSMdqK42fHnEdYGEHAw6NGC89SXYce7

3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W:  -0.01000000 Waves

2021.09.16 01:27 [1704754] smart account 3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W > SELF 0.00000000 Waves

{ "type": 13, "id": "4yLv1fMY9jV1sGSMdqK42fHnEdYGEHAw6NGC89SXYce7", "fee": 1000000, "feeAssetId": null, "timestamp": 1631744885606, "version": 2, "chainId": 84, "sender": "3N7Ym1WK3ZaFp7Vfjvz6KFRGF6AxsAXm76W", "senderPublicKey": "4Tgbt8hFUrh9Ljuh7RR6JU7FGF6Vy8J55djUNpJj8DvX", "proofs": [ "2cwWvgEYq9ywGRDvP38K6Gk5Qi9EpyDwjEPpRii58KpywFEYDAH8NCXsbENXQ7j38CwKr5ggZWMFvJ6bAMubWP8p" ], "script": "base64:AAIFAAAAAAAAAMoIAhIECgIICBoHCgJhMRIBaRoMCgJhMhIGYWN0aW9uGgoKAmEzEgR0eXBlGhMKAmE0Eg10cmFuc2FjdGlvbklkGhAKAmE1EgpjdXJyZW50S2V5Gg8KAmE2EglwYXlBbW91bnQaFQoCYTcSD2N1cnJlbnRLZXlCeXRlcxoNCgJhOBIHbmFtZU5mdBoQCgJhORIKaGlzdG9yaWNJZBoNCgJiMRIHJG1hdGNoMBoHCgJiMhIBdBoVCgJiMxIPaW5pdGlhbFBvd2VyTmZ0AAAAAAAAAAEAAAACYTEBAAAABXN0YXJ0AAAAAgAAAAJhMgAAAAJhMwQAAAACYTQJAAJYAAAAAQgFAAAAAmExAAAADXRyYW5zYWN0aW9uSWQEAAAAAmE1CAUAAAACYTEAAAAGY2FsbGVyBAAAAAJhNgkBAAAABXZhbHVlAAAAAQgJAAGRAAAAAggFAAAAAmExAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAQAAAACYTcJAAJYAAAAAQgIBQAAAAJhMQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAmE4CQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAJhMwIAAAABXwkAAS8AAAACBQAAAAJhNAAAAAAAAAAACgIAAAABXwUAAAACYTcCAAAAAV8FAAAAAmE0BAAAAAJhOQQAAAACYjEJAAQaAAAAAgUAAAAEdGhpcwIAAAAKaGlzdG9yaWNJZAMJAAABAAAAAgUAAAACYjECAAAAA0ludAQAAAACYjIFAAAAAmIxBQAAAAJiMgAAAAAAAAAAAAQAAAACYjMEAAAAAmIxCQAEGgAAAAIFAAAABHRoaXMFAAAAAmEzAwkAAAEAAAACBQAAAAJiMQIAAAADSW50BAAAAAJiMgUAAAACYjEFAAAAAmIyAAAAAAAAAABkAwkAAAAAAAACBQAAAAJhMgIAAAAHQnV5IE5GVAkABEwAAAACCQAEQgAAAAUJAAEsAAAAAgkAASwAAAACBQAAAAJhMwIAAAABXwkAAS8AAAACBQAAAAJhNAAAAAAAAAAACgIAAAAAAAAAAAAAAAABAAAAAAAAAAAABwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAACYTgFAAAAAmIzBQAAAANuaWwJAAACAAAAAQIAAAA9TsOjbyBmb2kgcG9zc2l2ZWwgY3JpYXIgc2V1IE5GVC4gVmVyaWZpcXVlIHN1YSBzb2xpY2l0YcOnw6NvIQAAAACY+U7N", "height": 1704754, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6B7xT9tgKvjKpJknpWpfHQpLDXNRgDiDp5ph8U2bfGEF Next: XrGuGWgab475JjPtVwEjuXbNKGkGk9uwejnD9XkLxRA Diff:
OldNewDifferences
99 let currentKey = i.caller
1010 let payAmount = value(i.payments[0].amount)
1111 let currentKeyBytes = toBase58String(i.caller.bytes)
12- let nameNft = ((((type + "_") + currentKeyBytes) + "_") + transactionId)
12+ let nameNft = ((((((type + "_") + take(transactionId, 10)) + "_") + currentKeyBytes) + "_") + transactionId)
1313 let historicId = match getInteger(this, "historicId") {
1414 case t: Int =>
1515 t
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func start (action,type) = {
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)
12- let nameNft = ((((type + "_") + currentKeyBytes) + "_") + transactionId)
12+ 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 throw("Não foi possivel criar seu NFT. Verifique sua solicitação!")
2828 }
2929
3030

github/deemru/w8io/026f985 
48.77 ms