tx · 6uuFYTz9z1h2XdehJuXiHCbPgvw54nxwm3VbA7RasQJE
3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS: -0.01400000 Waves
2019.11.08 11:54 [755761] smart account 3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS > SELF 0.00000000 Waves
{
"type": 13,
"id": "6uuFYTz9z1h2XdehJuXiHCbPgvw54nxwm3VbA7RasQJE",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1573203271689,
"version": 1,
"sender": "3MsYB1YL7gzygFM5vZJLNoSwxiVARw3i4dS",
"senderPublicKey": "6G5NGhnfJz9aCpHo6LFhebGvnbhYgG31LQbjmMnkzqSe",
"proofs": [
"4yZxmb8KeNQedBySvtMLBVcb8Q9UpVRATEcy4bh1RAC3N99gXGpy8YEfeK4kZJzdAPnn8LcFZXH59kipCUP1hLH1"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgECAAAAAQEAAAAMdG9CeXRlVmVjdG9yAAAAAQAAAAJidgQAAAAHJG1hdGNoMAUAAAACYnYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAA2J2MAUAAAAHJG1hdGNoMAUAAAADYnYwCQAAAgAAAAECAAAAE0J5dGVWZWN0b3IgZXhwZWN0ZWQAAAABAAAAAWkBAAAAB3JlZ1VzZXIAAAABAAAACnVzZXJQdWJLZXkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAACnVzZXJQdWJLZXkFAAAACnVzZXJQdWJLZXkFAAAAA25pbAAAAAEAAAACdHgBAAAACHZlcmlmaWVyAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAB3JlZ1VzZXIJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAAAQAAACBJbFjA0q5xX8lPTWjE8Xt6Nj3+eShbmdQETLpCwGqETAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5SeRkDA==",
"chainId": 84,
"height": 755761,
"spentComplexity": 0
}
View: original | compacted
Prev: HM6TgJnEZ7YhaPgfmvznrCWfa5rK8EdLCQjUdqqEbY85
Next: 2YgEgnjeNpoZfkgrcZLaKscwr8DXErDqLHJ75DLMjebz
Diff:
Old | New | | Differences |
---|
23 | 23 | | then { |
---|
24 | 24 | | let i = c |
---|
25 | 25 | | if ((i.function == "regUser")) |
---|
26 | | - | then sigVerify(g.bodyBytes, g.proofs[0], a(i.args[0])) |
---|
| 26 | + | then sigVerify(g.bodyBytes, g.proofs[0], base58'5wcatb2dTJHNrGsqRCaric3CaQMT4DD4ucfcxkHanzuh') |
---|
27 | 27 | | else sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
28 | 28 | | } |
---|
29 | 29 | | else sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a (b) = { |
---|
5 | 5 | | let c = b |
---|
6 | 6 | | if ($isInstanceOf(c, "ByteVector")) |
---|
7 | 7 | | then { |
---|
8 | 8 | | let d = c |
---|
9 | 9 | | d |
---|
10 | 10 | | } |
---|
11 | 11 | | else throw("ByteVector expected") |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(e) |
---|
16 | 16 | | func regUser (f) = WriteSet([DataEntry("userPubKey", f)]) |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | @Verifier(g) |
---|
20 | 20 | | func h () = { |
---|
21 | 21 | | let c = g |
---|
22 | 22 | | if ($isInstanceOf(c, "InvokeScriptTransaction")) |
---|
23 | 23 | | then { |
---|
24 | 24 | | let i = c |
---|
25 | 25 | | if ((i.function == "regUser")) |
---|
26 | | - | then sigVerify(g.bodyBytes, g.proofs[0], a(i.args[0])) |
---|
| 26 | + | then sigVerify(g.bodyBytes, g.proofs[0], base58'5wcatb2dTJHNrGsqRCaric3CaQMT4DD4ucfcxkHanzuh') |
---|
27 | 27 | | else sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
28 | 28 | | } |
---|
29 | 29 | | else sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
30 | 30 | | } |
---|
31 | 31 | | |
---|