tx · 8FbHBAjQsMgNaMpnMCNbSwJJBYsvoCipVcAvLX6qafvC
3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D: -0.04000000 Waves
2019.10.15 06:40 [720519] smart account 3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D > SELF 0.00000000 Waves
{
"type": 13,
"id": "8FbHBAjQsMgNaMpnMCNbSwJJBYsvoCipVcAvLX6qafvC",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1571110898233,
"version": 1,
"sender": "3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D",
"senderPublicKey": "Hxqy6r7HGZfDUPVgADrFFRvbDErnK5HxWVeskMxaNSSK",
"proofs": [
"ami3NsZMurKVmAx3EgQL7fyY1e7p8N67aAq9ZLXWNXm4WRsWWjw3uYZtYyd4CVbaY41juZay1z6oTqozdcaVniM"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAFb3duZXIBAAAAIPwJTYKEsuntn/tcgnkI9gmYhsnCV0IADAkWhSTj0ER4AAAAAQAAAAFpAQAAAAR2b3RlAAAAAQAAAAF2BAAAAA9kYXRhRnJvbVN0b3JhZ2UJAAQdAAAAAgUAAAAEdGhpcwkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BQAAAAF2BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAVvd25lcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAWMFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGBxufPaw=",
"chainId": 84,
"height": 720519,
"spentComplexity": 0
}
View: original | compacted
Prev: 37L9qf2DxNNdNQaTFtu6N4rXBEXoELCoYgBJVr1CLf5H
Next: none
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let owner = base58'Hxqy6r7HGZfDUPVgADrFFRvbDErnK5HxWVeskMxaNSSK' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func vote (v) = { |
---|
8 | 8 | | let dataFromStorage = getString(this, toBase58String(i.callerPublicKey)) |
---|
9 | 9 | | WriteSet([DataEntry(toBase58String(i.callerPublicKey), v)]) |
---|
10 | 10 | | } |
---|
11 | 11 | | |
---|
12 | 12 | | |
---|
13 | 13 | | @Verifier(tx) |
---|
14 | 14 | | func verify () = match tx { |
---|
15 | 15 | | case t: SetScriptTransaction => |
---|
16 | 16 | | sigVerify(tx.bodyBytes, tx.proofs[0], owner) |
---|
17 | 17 | | case c: InvokeScriptTransaction => |
---|
18 | 18 | | true |
---|
19 | 19 | | case d: DataTransaction => |
---|
20 | 20 | | true |
---|
21 | 21 | | case _ => |
---|
22 | 22 | | false |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|