tx · HzXVMVwv2FUAY64sxPzaaG5uWU9AGdPigFdoJ43wiWR7 3N4A4hJ8BPXPAHbAYrAA3v6vt8BnGe8hxdy: -0.00100000 Waves 2022.11.07 16:56 [2306822] smart account 3N4A4hJ8BPXPAHbAYrAA3v6vt8BnGe8hxdy > SELF 0.00000000 Waves
{ "type": 13, "id": "HzXVMVwv2FUAY64sxPzaaG5uWU9AGdPigFdoJ43wiWR7", "fee": 100000, "feeAssetId": null, "timestamp": 1667829377790, "version": 2, "chainId": 84, "sender": "3N4A4hJ8BPXPAHbAYrAA3v6vt8BnGe8hxdy", "senderPublicKey": "4X5cP6YXN4YC8XZdfNxhNfBibUum5LEnjLasg3YWJaxz", "proofs": [ "4uTyVMfg3ybsYR5HCc6Bei2jWKR3ti6Ng3CFgkVXnYdY8qggHD22drKuRrJaZyCiCqh5DBYzw131UuvcKjWWqd3M" ], "script": "base64:BgIHCAISAwoBCAABAWkBCmhlbGxvV29ybGQBBG5hbWUJAMwIAgkBC1N0cmluZ0VudHJ5AgIGYW5zd2VyCQCsAgICFEhlbGxvIFdvcmxkISBIZWxsbywgBQRuYW1lBQNuaWwAI7p6zA==", "height": 2306822, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GTJPWPTgAndzeXAq7rRfQcYUNZHUvKADAtvj8YLKmU7K Next: 2qFYckH8xgiog9LszevSV1zGWWnYCRfjySRo9vai2J6W 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", lastBlock.height), StringEntry("str", ""), DeleteEntry("str"), asset, Reissue(assetId, 1, false), Burn(assetId, 1), ScriptTransfer(i.caller, 1, assetId)] | |
11 | - | } | |
7 | + | func helloWorld (name) = [StringEntry("answer", ("Hello World! Hello, " + name))] | |
12 | 8 | ||
13 | - | ||
14 | - | @Verifier(tx) | |
15 | - | func verify () = match tx { | |
16 | - | case _ => | |
17 | - | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
18 | - | } | |
19 | 9 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
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", lastBlock.height), StringEntry("str", ""), DeleteEntry("str"), asset, Reissue(assetId, 1, false), Burn(assetId, 1), ScriptTransfer(i.caller, 1, assetId)] | |
11 | - | } | |
7 | + | func helloWorld (name) = [StringEntry("answer", ("Hello World! Hello, " + name))] | |
12 | 8 | ||
13 | - | ||
14 | - | @Verifier(tx) | |
15 | - | func verify () = match tx { | |
16 | - | case _ => | |
17 | - | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
18 | - | } | |
19 | 9 |
github/deemru/w8io/026f985 20.41 ms ◑