tx · N9XJTRpwVMxVkLLUCQZsU6XQnaQnc2LNtaFjxBxC6pV 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves 2022.11.22 13:16 [2328193] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{ "type": 13, "id": "N9XJTRpwVMxVkLLUCQZsU6XQnaQnc2LNtaFjxBxC6pV", "fee": 1000000, "feeAssetId": null, "timestamp": 1669111923085, "version": 2, "chainId": 84, "sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo", "senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V", "proofs": [ "5gbWhFeRrRvCi3HZTJCgYURBRfm87qNqGeMG2GPrk7n8EGVvAYRTWstZvsD8vPfqfrc59gUAiCPZ5XbPKUANpBqy" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAADdGtuAAAAAAQAAAAFYXNzZXQJAARDAAAABwIAAAAFQXNzZXQCAAAAAAAAAAAAAAAAZAAAAAAAAAAAAAYFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQEAAAABUFsaWNlCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUR+z0BSkBYWi7QP7cj+U4CmBkmZSDTs7wCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABUFsaWNlAAAAAAAAAAABBQAAAAdhc3NldElkCQAETAAAAAIFAAAABWFzc2V0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecFmV7Q=", "height": 2328193, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2paSY3zuJy2kqHmSkJFmeuf5B6NHLWKNpt7U4Femop1E Next: 6R3T7U2Tf1PtmhF1LyfDY6XRAPtvDspYd6ymWhGSKNzj Diff:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func tIssue (name,description) = { | |
8 | - | let asset = Issue("name", "description", 100, 2, true) | |
9 | - | [StringEntry("name", name), StringEntry("description", description), asset] | |
7 | + | func tkn () = { | |
8 | + | let asset = Issue("Asset", "", 100, 0, true, unit, 0) | |
9 | + | let assetId = calculateAssetId(asset) | |
10 | + | let Alice = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') | |
11 | + | [ScriptTransfer(Alice, 1, assetId), asset] | |
10 | 12 | } | |
11 | 13 | ||
12 | 14 |
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func tIssue (name,description) = { | |
8 | - | let asset = Issue("name", "description", 100, 2, true) | |
9 | - | [StringEntry("name", name), StringEntry("description", description), asset] | |
7 | + | func tkn () = { | |
8 | + | let asset = Issue("Asset", "", 100, 0, true, unit, 0) | |
9 | + | let assetId = calculateAssetId(asset) | |
10 | + | let Alice = Address(base58'3MvUPcLYNFkmNzkA2h8jVU1fVK416VCT3hR') | |
11 | + | [ScriptTransfer(Alice, 1, assetId), asset] | |
10 | 12 | } | |
11 | 13 | ||
12 | 14 | ||
13 | 15 | @Verifier(tx) | |
14 | 16 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
15 | 17 |
github/deemru/w8io/026f985 19.11 ms ◑