tx · CAs3tDxQmvcSznGjAgG8aZGPmPEt6TNzmuAwA4QGxE6i 3MvTyKB3CtqXBarzqMA6NKdiv9skDfbdw3e: -0.01400000 Waves 2021.04.07 15:59 [1472057] smart account 3MvTyKB3CtqXBarzqMA6NKdiv9skDfbdw3e > SELF 0.00000000 Waves
{ "type": 13, "id": "CAs3tDxQmvcSznGjAgG8aZGPmPEt6TNzmuAwA4QGxE6i", "fee": 1400000, "feeAssetId": null, "timestamp": 1617800329017, "version": 2, "chainId": 84, "sender": "3MvTyKB3CtqXBarzqMA6NKdiv9skDfbdw3e", "senderPublicKey": "7oL4rP9peuMFSYMivtqPQgYnHWDDNnrqYdaMt8qnQbjt", "proofs": [ "2dNg6WaRDrWpCeL2Smdnoy1pqGdSBAw8qAxqDxejuDBumoJHudxDVaxD7DBRsPheRs4pm1c9d3MGDMDaJPqPuqAw" ], "script": "base64:AAIEAAAAAAAAAAkIAhIFCgMICAgAAAAAAAAAAQAAAAFpAQAAAAhpc3N1ZW5mdAAAAAMAAAAFYnJhbmQAAAAEbmFtZQAAAARqc29uBAAAAANuZnQJAARCAAAABQIAAAANR09MRiBHRUFSIE5GVAkAASwAAAACCQABLAAAAAIFAAAABWJyYW5kAgAAAAMgLyAFAAAABG5hbWUAAAAAAAAAAAEAAAAAAAAAAAAHBAAAAAVuZnRJZAkABDgAAAABBQAAAANuZnQEAAAAC25mdElkU3RyaW5nCQACWAAAAAEFAAAABW5mdElkCQAETAAAAAIFAAAAA25mdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAtuZnRJZFN0cmluZwUAAAAEanNvbgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAABW5mdElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXuqxfw=", "height": 1472057, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5jXsqcLuPhwTKyXwnTYBX89bnaKn4ajoV8fnqc2fx6TQ Next: H8b8PbxSCQZkVY7xNpGi2YouLL51KowuSoM8WYfzmgYB Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func call () = { | |
8 | - | let asset = Issue("Asset", "", 1, 0, true, unit, 0) | |
9 | - | let assetId = calculateAssetId(asset) | |
10 | - | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), asset, Reissue(assetId, 1, false), Burn(assetId, 1), ScriptTransfer(i.caller, 1, assetId)] | |
7 | + | func issuenft (brand,name,json) = { | |
8 | + | let nft = Issue("GOLF GEAR NFT", ((brand + " / ") + name), 1, 0, false) | |
9 | + | let nftId = calculateAssetId(nft) | |
10 | + | let nftIdString = toBase58String(nftId) | |
11 | + | [nft, StringEntry(nftIdString, json), ScriptTransfer(i.caller, 1, nftId)] | |
11 | 12 | } | |
12 | 13 | ||
13 | 14 |
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 | - | func call () = { | |
8 | - | let asset = Issue("Asset", "", 1, 0, true, unit, 0) | |
9 | - | let assetId = calculateAssetId(asset) | |
10 | - | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), asset, Reissue(assetId, 1, false), Burn(assetId, 1), ScriptTransfer(i.caller, 1, assetId)] | |
7 | + | func issuenft (brand,name,json) = { | |
8 | + | let nft = Issue("GOLF GEAR NFT", ((brand + " / ") + name), 1, 0, false) | |
9 | + | let nftId = calculateAssetId(nft) | |
10 | + | let nftIdString = toBase58String(nftId) | |
11 | + | [nft, StringEntry(nftIdString, json), ScriptTransfer(i.caller, 1, nftId)] | |
11 | 12 | } | |
12 | 13 | ||
13 | 14 | ||
14 | 15 | @Verifier(tx) | |
15 | 16 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
16 | 17 |
github/deemru/w8io/169f3d6 35.30 ms ◑