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 vbDeploy = "deployed" |
---|
7 | 7 | | |
---|
| 8 | + | @Callable(i) |
---|
| 9 | + | func dispense (boxSize) = { |
---|
| 10 | + | let x = "nothing" |
---|
| 11 | + | if ((x != "nothing")) |
---|
| 12 | + | then throw("x is not nothing") |
---|
| 13 | + | else throw("x is something") |
---|
| 14 | + | } |
---|
| 15 | + | |
---|
8 | 16 | | |
---|
9 | 17 | | @Verifier(tx) |
---|
10 | 18 | | func verify () = match tx { |
---|
11 | 19 | | case d: SetScriptTransaction => |
---|
12 | 20 | | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
13 | 21 | | case d: DataTransaction => |
---|
| 22 | + | true |
---|
| 23 | + | case d: TransferTransaction => |
---|
14 | 24 | | true |
---|
15 | 25 | | case _ => |
---|
16 | 26 | | false |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let ownerPublicKey = base58'BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH' |
---|
5 | 5 | | |
---|
6 | 6 | | let vbDeploy = "deployed" |
---|
7 | 7 | | |
---|
| 8 | + | @Callable(i) |
---|
| 9 | + | func dispense (boxSize) = { |
---|
| 10 | + | let x = "nothing" |
---|
| 11 | + | if ((x != "nothing")) |
---|
| 12 | + | then throw("x is not nothing") |
---|
| 13 | + | else throw("x is something") |
---|
| 14 | + | } |
---|
| 15 | + | |
---|
8 | 16 | | |
---|
9 | 17 | | @Verifier(tx) |
---|
10 | 18 | | func verify () = match tx { |
---|
11 | 19 | | case d: SetScriptTransaction => |
---|
12 | 20 | | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) |
---|
13 | 21 | | case d: DataTransaction => |
---|
| 22 | + | true |
---|
| 23 | + | case d: TransferTransaction => |
---|
14 | 24 | | true |
---|
15 | 25 | | case _ => |
---|
16 | 26 | | false |
---|
17 | 27 | | } |
---|
18 | 28 | | |
---|