tx · 7eB592iqPEnBft6DfXjB9vvGJM63ZYgFZWtngsjtcQCK 3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K: -0.05000000 Waves 2020.09.18 20:32 [1183037] smart account 3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K > SELF 0.00000000 Waves
{ "type": 13, "id": "7eB592iqPEnBft6DfXjB9vvGJM63ZYgFZWtngsjtcQCK", "fee": 5000000, "feeAssetId": null, "timestamp": 1600450360575, "version": 2, "chainId": 84, "sender": "3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K", "senderPublicKey": "B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V", "proofs": [ "3nZNfRP2FMauiPQt2zVXQWp2hKnpVx3jfy18zZoMqFNwSnzWievAstQxDqEC1aWp7J8HWGRwrG3SaoyRbQ18hEUn" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAgAAAAAFb3duZXIBAAAAIJSqgv33P33K3xXhz0FACThxfYLi7Vx7YjREdx3vVuhiAAAAAAFhAAAAAAAAAAABAAAAAQAAAAFpAQAAAARjYWxsAAAAAAQAAAAFYXNzZXQJAARDAAAABwIAAAAFQXNzZXQCAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAYFAAAABHVuaXQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQJAAQ4AAAAAQUAAAAFYXNzZXQJAARMAAAAAgkBAAAAC0JpbmFyeUVudHJ5AAAAAgIAAAADYmluAQAAAAAJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAICAAAABGJvb2wGCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAANpbnQAAAAAAAAAAAEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADc3RyAgAAAAAJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAADc3RyCQAETAAAAAIFAAAABWFzc2V0CQAETAAAAAIJAQAAAAdSZWlzc3VlAAAAAwUAAAAHYXNzZXRJZAAAAAAAAAAAAQcJAARMAAAAAgkBAAAABEJ1cm4AAAACBQAAAAdhc3NldElkAAAAAAAAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAFb3duZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGB58W8uo=", "height": 1183037, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AF4Au8QhTxeJE8pGr7fzerMyxVngwBqrUBXud9aBxfJc Next: RSWvAjuGA2P3jHpddEEiS5Bdi1jvLPwURAebats6t1Z Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | let owner = base58'B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V' | |
5 | 5 | ||
6 | 6 | let a = 1 | |
7 | + | ||
8 | + | @Callable(i) | |
9 | + | func call () = { | |
10 | + | let asset = Issue("Asset", "", 1, 0, true, unit, 0) | |
11 | + | let assetId = calculateAssetId(asset) | |
12 | + | [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)] | |
13 | + | } | |
7 | 14 | ||
8 | 15 | ||
9 | 16 | @Verifier(tx) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let owner = base58'B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V' | |
5 | 5 | ||
6 | 6 | let a = 1 | |
7 | + | ||
8 | + | @Callable(i) | |
9 | + | func call () = { | |
10 | + | let asset = Issue("Asset", "", 1, 0, true, unit, 0) | |
11 | + | let assetId = calculateAssetId(asset) | |
12 | + | [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)] | |
13 | + | } | |
7 | 14 | ||
8 | 15 | ||
9 | 16 | @Verifier(tx) | |
10 | 17 | func verify () = match tx { | |
11 | 18 | case d: SetScriptTransaction => | |
12 | 19 | sigVerify(tx.bodyBytes, tx.proofs[0], owner) | |
13 | 20 | case t: TransferTransaction => | |
14 | 21 | true | |
15 | 22 | case d: DataTransaction => | |
16 | 23 | true | |
17 | 24 | case _ => | |
18 | 25 | false | |
19 | 26 | } | |
20 | 27 |
github/deemru/w8io/169f3d6 36.14 ms ◑