tx · CR6jc2Av9in7ZJWVpUs6HpkcvE6Hpmp56qSJfYGqd3XA

3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D:  -0.02000000 Waves

2019.10.11 10:20 [714893] smart account 3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D > SELF 0.00000000 Waves

{ "type": 13, "id": "CR6jc2Av9in7ZJWVpUs6HpkcvE6Hpmp56qSJfYGqd3XA", "fee": 2000000, "feeAssetId": null, "timestamp": 1570778454357, "version": 1, "sender": "3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D", "senderPublicKey": "Hxqy6r7HGZfDUPVgADrFFRvbDErnK5HxWVeskMxaNSSK", "proofs": [ "5j5N4zsFi1bTwLn53ijKLrUmuLbXSNjMEeNRLTEb4Epzq2sxmGuyHm6PV62aibUCVuHsn3HnDvK3vSwQCKK4ZoCg" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAFb3duZXIBAAAAIPwJTYKEsuntn/tcgnkI9gmYhsnCV0IADAkWhSTj0ER4AAAAAQAAAAFpAQAAAAR2b3RlAAAAAQAAAAF2BAAAAA9kYXRhRnJvbVN0b3JhZ2UJAAQdAAAAAgUAAAAEdGhpcwkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkDCQEAAAAJaXNEZWZpbmVkAAAAAQUAAAAPZGF0YUZyb21TdG9yYWdlCQAAAgAAAAECAAAAINCS0Ysg0YPQttC1INCz0L7Qu9C+0YHQvtCy0LDQu9C4CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQUAAAABdgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAFb3duZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAAFjBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBge68/z5", "chainId": 84, "height": 714893, "spentComplexity": 0 } View: original | compacted Prev: FhwQFK96xg4hXNP23xSCd1rBqWYJvRvM6yCpsinPreZT Next: 37L9qf2DxNNdNQaTFtu6N4rXBEXoELCoYgBJVr1CLf5H Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let owner = base58'Hxqy6r7HGZfDUPVgADrFFRvbDErnK5HxWVeskMxaNSSK'
55
66 @Callable(i)
77 func vote (v) = {
88 let dataFromStorage = getString(this, toBase58String(i.callerPublicKey))
99 if (isDefined(dataFromStorage))
1010 then throw("Вы уже голосовали")
1111 else WriteSet([DataEntry(toBase58String(i.callerPublicKey), v)])
1212 }
1313
1414
1515 @Verifier(tx)
1616 func verify () = match tx {
1717 case t: SetScriptTransaction =>
1818 sigVerify(tx.bodyBytes, tx.proofs[0], owner)
1919 case c: InvokeScriptTransaction =>
2020 true
2121 case d: DataTransaction =>
2222 true
2323 case _ =>
2424 false
2525 }
2626

github/deemru/w8io/169f3d6 
27.74 ms