tx · 5XGZYc1jyE8iYbKLwqwCRL9a31kVewHDJjc8CkJULdX6
3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi: -0.01400000 Waves
2019.08.27 01:10 [648725] smart account 3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi > SELF 0.00000000 Waves
{
"type": 13,
"id": "5XGZYc1jyE8iYbKLwqwCRL9a31kVewHDJjc8CkJULdX6",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1566857533354,
"version": 1,
"sender": "3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi",
"senderPublicKey": "BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH",
"proofs": [
"kcxugH9jqaYEjdhRHH3SSRCMNfpm2ddtJESufDH9Hgfw8E8EYPwSiSETRiVpX4jhCUYN2RdPY6YSEm5LfkZqRkF"
],
"script": "base64:AAIDAAAAAAAAAAAAAAACAAAAAA5vd25lclB1YmxpY0tleQEAAAAgnOTxzRGlQL/gVO1uf4r6ecWijHA9iBu9xK1V+iHbiGoAAAAACHZiRGVwbG95AgAAAAhkZXBsb3llZAAAAAEAAAABaQEAAAAIZGlzcGVuc2UAAAABAAAAB2JveFNpemUEAAAAAXgCAAAAB25vdGhpbmcDCQEAAAACIT0AAAACBQAAAAF4AgAAAAdub3RoaW5nCQAAAgAAAAECAAAAEHggaXMgbm90IG5vdGhpbmcJAAACAAAAAQIAAAAOeCBpcyBzb21ldGhpbmcAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5vd25lclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHSc1K7g==",
"chainId": 84,
"height": 648725,
"spentComplexity": 0
}
View: original | compacted
Prev: 435acrRK2LLgSWibF2CumvHkShJxpnkj4hPECW8xBJst
Next: BYuVyg6dYB5JqqQ9Pp3rQPFntVeTXqVVkCjbQrZYkee4
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | let b = "deployed" |
---|
7 | 7 | | |
---|
| 8 | + | @Callable(c) |
---|
| 9 | + | func dispense (d) = { |
---|
| 10 | + | let e = "nothing" |
---|
| 11 | + | if ((e != "nothing")) |
---|
| 12 | + | then throw("x is not nothing") |
---|
| 13 | + | else throw("x is something") |
---|
| 14 | + | } |
---|
8 | 15 | | |
---|
9 | | - | @Verifier(c) |
---|
10 | | - | func d () = { |
---|
11 | | - | let e = c |
---|
12 | | - | if ($isInstanceOf(e, "SetScriptTransaction")) |
---|
| 16 | + | |
---|
| 17 | + | @Verifier(f) |
---|
| 18 | + | func g () = { |
---|
| 19 | + | let h = f |
---|
| 20 | + | if ($isInstanceOf(h, "SetScriptTransaction")) |
---|
13 | 21 | | then { |
---|
14 | | - | let f = e |
---|
15 | | - | sigVerify(c.bodyBytes, c.proofs[0], a) |
---|
| 22 | + | let i = h |
---|
| 23 | + | sigVerify(f.bodyBytes, f.proofs[0], a) |
---|
16 | 24 | | } |
---|
17 | | - | else if ($isInstanceOf(e, "DataTransaction")) |
---|
| 25 | + | else if ($isInstanceOf(h, "DataTransaction")) |
---|
18 | 26 | | then { |
---|
19 | | - | let f = e |
---|
| 27 | + | let i = h |
---|
20 | 28 | | true |
---|
21 | 29 | | } |
---|
22 | | - | else false |
---|
| 30 | + | else if ($isInstanceOf(h, "TransferTransaction")) |
---|
| 31 | + | then { |
---|
| 32 | + | let i = h |
---|
| 33 | + | true |
---|
| 34 | + | } |
---|
| 35 | + | else false |
---|
23 | 36 | | } |
---|
24 | 37 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH' |
---|
5 | 5 | | |
---|
6 | 6 | | let b = "deployed" |
---|
7 | 7 | | |
---|
| 8 | + | @Callable(c) |
---|
| 9 | + | func dispense (d) = { |
---|
| 10 | + | let e = "nothing" |
---|
| 11 | + | if ((e != "nothing")) |
---|
| 12 | + | then throw("x is not nothing") |
---|
| 13 | + | else throw("x is something") |
---|
| 14 | + | } |
---|
8 | 15 | | |
---|
9 | | - | @Verifier(c) |
---|
10 | | - | func d () = { |
---|
11 | | - | let e = c |
---|
12 | | - | if ($isInstanceOf(e, "SetScriptTransaction")) |
---|
| 16 | + | |
---|
| 17 | + | @Verifier(f) |
---|
| 18 | + | func g () = { |
---|
| 19 | + | let h = f |
---|
| 20 | + | if ($isInstanceOf(h, "SetScriptTransaction")) |
---|
13 | 21 | | then { |
---|
14 | | - | let f = e |
---|
15 | | - | sigVerify(c.bodyBytes, c.proofs[0], a) |
---|
| 22 | + | let i = h |
---|
| 23 | + | sigVerify(f.bodyBytes, f.proofs[0], a) |
---|
16 | 24 | | } |
---|
17 | | - | else if ($isInstanceOf(e, "DataTransaction")) |
---|
| 25 | + | else if ($isInstanceOf(h, "DataTransaction")) |
---|
18 | 26 | | then { |
---|
19 | | - | let f = e |
---|
| 27 | + | let i = h |
---|
20 | 28 | | true |
---|
21 | 29 | | } |
---|
22 | | - | else false |
---|
| 30 | + | else if ($isInstanceOf(h, "TransferTransaction")) |
---|
| 31 | + | then { |
---|
| 32 | + | let i = h |
---|
| 33 | + | true |
---|
| 34 | + | } |
---|
| 35 | + | else false |
---|
23 | 36 | | } |
---|
24 | 37 | | |
---|