tx · FY5aMhucHEuXySb8xGiT89yUrVibUDnaqRur25oQ2WCW

3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz:  -0.01400000 Waves

2021.12.27 02:19 [1851867] smart account 3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz > SELF 0.00000000 Waves

{ "type": 13, "id": "FY5aMhucHEuXySb8xGiT89yUrVibUDnaqRur25oQ2WCW", "fee": 1400000, "feeAssetId": null, "timestamp": 1640560769870, "version": 2, "chainId": 84, "sender": "3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz", "senderPublicKey": "AmNGcQhk77jcLZEVysQPbYbF3QCHAzQH9Zc9oRZB963h", "proofs": [ "4BWMGd1mxP2pYnahJhoQuqU3qY1634xtqa4b1JnuCFYh9DNVnLSpZkNqe1vrrgiNXMFAKGyLFtrb84h2Zrgq6TE5" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAAWkBAAAACUNyZWF0ZU5GVAAAAAIAAAAHTkZUTmFtZQAAAA5ORlREZXNjcmlwdGlvbgQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVhc3NldAkABEMAAAAHBQAAAAdORlROYW1lBQAAAA5ORlREZXNjcmlwdGlvbgAAAAAAAAAAAQAAAAAAAAAAAAcFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQDCQAAZgAAAAIAAAAAAAAAAAEJAAExAAAAAQUAAAAHTkZUTmFtZQkAAAIAAAABAgAAADJObyBOYW1lIE1lbnRpb25lZCBmb3IgTkZULCBQbGVhc2UgRW50ZXIgU29tZSBOYW1lLgMJAABmAAAAAgAAAAAAAAAAAQkAATEAAAABBQAAAA5ORlREZXNjcmlwdGlvbgkAAAIAAAABAgAAAEBObyBEZXNjcmlwdGlvbiBNZW50aW9uZWQgZm9yIE5GVCwgUGxlYXNlIEVudGVyIFNvbWUgRGVzY3JpcHRpb24uCQAETAAAAAIFAAAABWFzc2V0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAHSXNzdWVyXwkAAlgAAAABBQAAAAdhc3NldElkBQAAAApjdXJyZW50S2V5CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQAAAAAAAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnEYQEG", "height": 1851867, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3cv5v4LXqGe4eesNWQb5BijY1NZ9MxcjLHtbkW45VSfu Next: GLoqNjsdYiwo9kf7X7RPdXRMAFPGbAF23HHB83BDB6Wm Diff:
OldNewDifferences
1616 }
1717
1818
19-
20-@Callable(i)
21-func TransferNFT (NFTASSETID,DestinationAddress) = {
22- let currentKey = toBase58String(i.caller.bytes)
23- if ((1 > size(NFTASSETID)))
24- then throw("No Name Mentioned for NFT, Please Enter Some Name.")
25- else if ((1 > size(DestinationAddress)))
26- then throw("No Description Mentioned for NFT, Please Enter Some Description.")
27- else [ScriptTransfer(addressFromPublicKey(base58'FpQDPkicMwf8q2FJRfT3wfh4RxXy5C8pgqMSQRZdfW3W'), 1, fromBase58String(NFTASSETID))]
28- }
29-
30-
3119 @Verifier(tx)
3220 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3321
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func CreateNFT (NFTName,NFTDescription) = {
88 let currentKey = toBase58String(i.caller.bytes)
99 let asset = Issue(NFTName, NFTDescription, 1, 0, false, unit, 0)
1010 let assetId = calculateAssetId(asset)
1111 if ((1 > size(NFTName)))
1212 then throw("No Name Mentioned for NFT, Please Enter Some Name.")
1313 else if ((1 > size(NFTDescription)))
1414 then throw("No Description Mentioned for NFT, Please Enter Some Description.")
1515 else [asset, StringEntry(("Issuer_" + toBase58String(assetId)), currentKey), ScriptTransfer(addressFromPublicKey(i.callerPublicKey), 1, assetId)]
1616 }
1717
1818
19-
20-@Callable(i)
21-func TransferNFT (NFTASSETID,DestinationAddress) = {
22- let currentKey = toBase58String(i.caller.bytes)
23- if ((1 > size(NFTASSETID)))
24- then throw("No Name Mentioned for NFT, Please Enter Some Name.")
25- else if ((1 > size(DestinationAddress)))
26- then throw("No Description Mentioned for NFT, Please Enter Some Description.")
27- else [ScriptTransfer(addressFromPublicKey(base58'FpQDPkicMwf8q2FJRfT3wfh4RxXy5C8pgqMSQRZdfW3W'), 1, fromBase58String(NFTASSETID))]
28- }
29-
30-
3119 @Verifier(tx)
3220 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3321

github/deemru/w8io/026f985 
25.01 ms