tx · Cgb7Jsek5h5QD2d3Pji4mEjmeQaLpNkPUPW36R9dEYx 3NARb6kPZQfvHem9AbHY4ymmcRUTYRuzyoY: -0.05000000 Waves 2021.04.15 22:48 [1483987] smart account 3NARb6kPZQfvHem9AbHY4ymmcRUTYRuzyoY > SELF 0.00000000 Waves
{ "type": 13, "id": "Cgb7Jsek5h5QD2d3Pji4mEjmeQaLpNkPUPW36R9dEYx", "fee": 5000000, "feeAssetId": null, "timestamp": 1618516095369, "version": 2, "chainId": 84, "sender": "3NARb6kPZQfvHem9AbHY4ymmcRUTYRuzyoY", "senderPublicKey": "JBRAxo1SGQ7RcGimF2r394b7Qga2v7nWiT1RfoT4cpnv", "proofs": [ "sKmw67DKghFrYCb3VVp7qHYtJHqyngszu6mEqYiitmniB2aoU8TM32rGJn9hHc5LXaHeMeFFxbRaM6V8KsA5BCt" ], "script": "base64:AAIEAAAAAAAAAAgIAhIAEgASAAAAAAAAAAADAAAAAWkBAAAABmNhbGwwMQAAAAAEAAAAB2Fzc2V0SWQJAAJZAAAAAQkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwIAAAALYXNzZXRfaWRfMDEJAARMAAAAAgkBAAAAB1JlaXNzdWUAAAADBQAAAAdhc3NldElkAAAAAAAAAAABBgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAFpAQAAAAZjYWxsMDIAAAAABAAAAAdhc3NldElkCQACWQAAAAEJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMCAAAAC2Fzc2V0X2lkXzAyCQAETAAAAAIJAQAAAAdSZWlzc3VlAAAAAwUAAAAHYXNzZXRJZAAAAAAAAAAAAQYJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAdhc3NldElkBQAAAANuaWwAAAABaQEAAAAEaW5pdAAAAAAEAAAAB2Fzc2V0MDEJAARCAAAABQIAAAAIQXNzZXRfMDECAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYEAAAACWFzc2V0SWQwMQkABDgAAAABBQAAAAdhc3NldDAxBAAAAAdhc3NldDAyCQAEQgAAAAUCAAAACEFzc2V0XzAyAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGBAAAAAlhc3NldElkMDIJAAQ4AAAAAQUAAAAHYXNzZXQwMgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAthc3NldF9pZF8wMQkAAlgAAAABBQAAAAlhc3NldElkMDEJAARMAAAAAgUAAAAHYXNzZXQwMQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAthc3NldF9pZF8wMgkAAlgAAAABBQAAAAlhc3NldElkMDIJAARMAAAAAgUAAAAHYXNzZXQwMgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmHMpem", "height": 1483987, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7WK1vw2FJFsAEPWYW8sseX6QvH8VfwCnqtgKgUQ4ZBZG Next: 9WCKZaZrWG229ja9fXM7Vm25sc6aX6SWLUFpVrTESthK Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | - | func call () = { | |
8 | - | let b = fromBase58String(getStringValue(this, "asset_id")) | |
7 | + | func call01 () = { | |
8 | + | let b = fromBase58String(getStringValue(this, "asset_id_01")) | |
9 | + | [Reissue(b, 1, true), ScriptTransfer(a.caller, 1, b)] | |
10 | + | } | |
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | @Callable(a) | |
15 | + | func call02 () = { | |
16 | + | let b = fromBase58String(getStringValue(this, "asset_id_02")) | |
9 | 17 | [Reissue(b, 1, true), ScriptTransfer(a.caller, 1, b)] | |
10 | 18 | } | |
11 | 19 | ||
13 | 21 | ||
14 | 22 | @Callable(a) | |
15 | 23 | func init () = { | |
16 | - | let c = Issue("Asset 1", "", 0, 0, true) | |
17 | - | let b = calculateAssetId(c) | |
18 | - | [StringEntry("asset_id", toBase58String(b)), c] | |
24 | + | let c = Issue("Asset_01", "", 0, 0, true) | |
25 | + | let d = calculateAssetId(c) | |
26 | + | let e = Issue("Asset_02", "", 0, 0, true) | |
27 | + | let f = calculateAssetId(e) | |
28 | + | [StringEntry("asset_id_01", toBase58String(d)), c, StringEntry("asset_id_02", toBase58String(f)), e] | |
19 | 29 | } | |
20 | 30 | ||
21 | 31 | ||
22 | - | @Verifier( | |
23 | - | func | |
32 | + | @Verifier(g) | |
33 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) | |
24 | 34 |
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(a) | |
7 | - | func call () = { | |
8 | - | let b = fromBase58String(getStringValue(this, "asset_id")) | |
7 | + | func call01 () = { | |
8 | + | let b = fromBase58String(getStringValue(this, "asset_id_01")) | |
9 | + | [Reissue(b, 1, true), ScriptTransfer(a.caller, 1, b)] | |
10 | + | } | |
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | @Callable(a) | |
15 | + | func call02 () = { | |
16 | + | let b = fromBase58String(getStringValue(this, "asset_id_02")) | |
9 | 17 | [Reissue(b, 1, true), ScriptTransfer(a.caller, 1, b)] | |
10 | 18 | } | |
11 | 19 | ||
12 | 20 | ||
13 | 21 | ||
14 | 22 | @Callable(a) | |
15 | 23 | func init () = { | |
16 | - | let c = Issue("Asset 1", "", 0, 0, true) | |
17 | - | let b = calculateAssetId(c) | |
18 | - | [StringEntry("asset_id", toBase58String(b)), c] | |
24 | + | let c = Issue("Asset_01", "", 0, 0, true) | |
25 | + | let d = calculateAssetId(c) | |
26 | + | let e = Issue("Asset_02", "", 0, 0, true) | |
27 | + | let f = calculateAssetId(e) | |
28 | + | [StringEntry("asset_id_01", toBase58String(d)), c, StringEntry("asset_id_02", toBase58String(f)), e] | |
19 | 29 | } | |
20 | 30 | ||
21 | 31 | ||
22 | - | @Verifier( | |
23 | - | func | |
32 | + | @Verifier(g) | |
33 | + | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) | |
24 | 34 |
github/deemru/w8io/169f3d6 23.66 ms ◑![]()