tx · C79E6h11kxjpaheUGirpSz4aWtTci94tXMaB1eYuPXuz 3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz: -0.01400000 Waves 2021.12.27 01:12 [1851798] smart account 3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz > SELF 0.00000000 Waves
{ "type": 13, "id": "C79E6h11kxjpaheUGirpSz4aWtTci94tXMaB1eYuPXuz", "fee": 1400000, "feeAssetId": null, "timestamp": 1640556769771, "version": 2, "chainId": 84, "sender": "3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz", "senderPublicKey": "AmNGcQhk77jcLZEVysQPbYbF3QCHAzQH9Zc9oRZB963h", "proofs": [ "e5FCf6SxnfEzyjptHdrF6T3p83etAtmDAQVcA6h2uYf3qv8owFgwbBfq7ma9RzqTyaPzUvVQve4kLvK7rzWMuq6" ], "script": "base64:AAIEAAAAAAAAAA4IAhIECgIICBIECgIICAAAAAAAAAACAAAAAWkBAAAACUNyZWF0ZU5GVAAAAAIAAAAHTkZUTmFtZQAAAA5ORlREZXNjcmlwdGlvbgQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVhc3NldAkABEMAAAAHBQAAAAdORlROYW1lBQAAAA5ORlREZXNjcmlwdGlvbgAAAAAAAAAAAQAAAAAAAAAAAAcFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQDCQAAZgAAAAIAAAAAAAAAAAEJAAExAAAAAQUAAAAHTkZUTmFtZQkAAAIAAAABAgAAADJObyBOYW1lIE1lbnRpb25lZCBmb3IgTkZULCBQbGVhc2UgRW50ZXIgU29tZSBOYW1lLgMJAABmAAAAAgAAAAAAAAAAAQkAATEAAAABBQAAAA5ORlREZXNjcmlwdGlvbgkAAAIAAAABAgAAAEBObyBEZXNjcmlwdGlvbiBNZW50aW9uZWQgZm9yIE5GVCwgUGxlYXNlIEVudGVyIFNvb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AAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5fb+cmQ==", "height": 1851798, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Xtu3ZWN2AMMqdq61chvEs5hdPSvwXrwVdiVdmE6T7Hu Next: ENuBwSCd4v7VjDEpGD7cNXPZ8CFvG1qHFtrgzTFqAWsx Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func CreateNFT (NFTName,NFTDescription) = { | |
8 | 8 | let currentKey = toBase58String(i.caller.bytes) | |
9 | 9 | let asset = Issue(NFTName, NFTDescription, 1, 0, false, unit, 0) | |
10 | 10 | let assetId = calculateAssetId(asset) | |
11 | 11 | if ((1 > size(NFTName))) | |
12 | 12 | then throw("No Name Mentioned for NFT, Please Enter Some Name.") | |
13 | 13 | else if ((1 > size(NFTDescription))) | |
14 | 14 | then throw("No Description Mentioned for NFT, Please Enter Some Description.") | |
15 | 15 | else [asset, StringEntry(("Issuer_" + toBase58String(assetId)), currentKey), ScriptTransfer(addressFromPublicKey(i.callerPublicKey), 1, assetId)] | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | ||
20 | 20 | @Callable(i) | |
21 | 21 | func TransferNFT (NFTASSETID,DestinationAddress) = { | |
22 | 22 | let currentKey = toBase58String(i.caller.bytes) | |
23 | 23 | if ((1 > size(NFTASSETID))) | |
24 | 24 | then throw("No AssetID is Mentioned, Please Enter NFT ASSETID.") | |
25 | 25 | else if ((1 > size(DestinationAddress))) | |
26 | 26 | then throw("No Destination Address Mentioned to Transfer NFT, Please Enter Receiver Address.") | |
27 | 27 | else [ScriptTransfer(addressFromPublicKey(fromBase58String(DestinationAddress)), 1, fromBase58String(NFTASSETID))] | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | @Verifier(tx) | |
32 | 32 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
33 | 33 |
github/deemru/w8io/026f985 28.30 ms ◑