tx · 9RhCgKWSY6WaiheAGVrWS2x2yMfWyDd1nH5GpPhZLc69
3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz: -0.01400000 Waves
2021.12.26 22:52 [1851666] smart account 3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz > SELF 0.00000000 Waves
{
"type": 13,
"id": "9RhCgKWSY6WaiheAGVrWS2x2yMfWyDd1nH5GpPhZLc69",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1640548369969,
"version": 2,
"chainId": 84,
"sender": "3My2v1xv9oXvkdoVBjdoPJwsyxswKABGzXz",
"senderPublicKey": "AmNGcQhk77jcLZEVysQPbYbF3QCHAzQH9Zc9oRZB963h",
"proofs": [
"2HkzURH5VacjJWsVwLinzTxqoLsz7jtncbXWdZXU5szk8pFFbLausiB9Bm46rof9v4CEeGMKFPT5SSJXXJUPhrZY"
],
"script": "base64:AAIEAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAAWkBAAAACUNyZWF0ZU5GVAAAAAIAAAAHTkZUTmFtZQAAAA5ORlREZXNjcmlwdGlvbgQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVhc3NldAkABEMAAAAHBQAAAAdORlROYW1lBQAAAA5ORlREZXNjcmlwdGlvbgAAAAAAAAAAAQAAAAAAAAAAAAcFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQJAARMAAAAAgUAAAAFYXNzZXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAdJc3N1ZXJfCQACWAAAAAEFAAAAB2Fzc2V0SWQFAAAACmN1cnJlbnRLZXkJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleednscA=",
"height": 1851666,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HH16Ci89BVJEYcEvAoEEe3rcRsZrgsxdv1NEG2SEqhep
Next: Gi4Sej9fZXvhQvYvDdydFstJ9PGmwBTmtNUrcBsu1mGG
Diff:
Old | New | | Differences |
---|
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 | | - | [StringEntry(("Issuer_" + toBase58String(assetId)), currentKey), ScriptTransfer(addressFromPublicKey(i.callerPublicKey), 1, assetId)] |
---|
| 11 | + | [asset, StringEntry(("Issuer_" + toBase58String(assetId)), currentKey), ScriptTransfer(addressFromPublicKey(i.callerPublicKey), 1, assetId)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
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 | | - | [StringEntry(("Issuer_" + toBase58String(assetId)), currentKey), ScriptTransfer(addressFromPublicKey(i.callerPublicKey), 1, assetId)] |
---|
| 11 | + | [asset, StringEntry(("Issuer_" + toBase58String(assetId)), currentKey), ScriptTransfer(addressFromPublicKey(i.callerPublicKey), 1, assetId)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Verifier(tx) |
---|
16 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
17 | 17 | | |
---|