tx · 37L9qf2DxNNdNQaTFtu6N4rXBEXoELCoYgBJVr1CLf5H

3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D:  -0.04000000 Waves

2019.10.11 10:42 [714917] smart account 3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D > SELF 0.00000000 Waves

{ "type": 13, "id": "37L9qf2DxNNdNQaTFtu6N4rXBEXoELCoYgBJVr1CLf5H", "fee": 4000000, "feeAssetId": null, "timestamp": 1570779703854, "version": 1, "sender": "3N3wG59BhyFv6WpcU4ufQwEKQc3P2EgdM3D", "senderPublicKey": "Hxqy6r7HGZfDUPVgADrFFRvbDErnK5HxWVeskMxaNSSK", "proofs": [ "4tnE1DA9BWfCsRezDRMEyeC4Uo36Zn1WMYSK6JvFgZfKGSUcADghzBJqhAuBPFqktGti98tWLPawMndiWdVPiCvp" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAFb3duZXIBAAAAIPwJTYKEsuntn/tcgnkI9gmYhsnCV0IADAkWhSTj0ER4AAAAAQAAAAFpAQAAAAR2b3RlAAAAAQAAAAF2BAAAAA9kYXRhRnJvbVN0b3JhZ2UJAAQdAAAAAgUAAAAEdGhpcwkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BQAAAAF2BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAVvd25lcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAWMFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGBxufPaw=", "chainId": 84, "height": 714917, "spentComplexity": 0 } View: original | compacted Prev: CR6jc2Av9in7ZJWVpUs6HpkcvE6Hpmp56qSJfYGqd3XA Next: 8FbHBAjQsMgNaMpnMCNbSwJJBYsvoCipVcAvLX6qafvC Diff:
OldNewDifferences
66 @Callable(i)
77 func vote (v) = {
88 let dataFromStorage = getString(this, toBase58String(i.callerPublicKey))
9- if (isDefined(dataFromStorage))
10- then throw("Вы уже голосовали")
11- else WriteSet([DataEntry(toBase58String(i.callerPublicKey), v)])
9+ WriteSet([DataEntry(toBase58String(i.callerPublicKey), v)])
1210 }
1311
1412
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))
9- if (isDefined(dataFromStorage))
10- then throw("Вы уже голосовали")
11- else WriteSet([DataEntry(toBase58String(i.callerPublicKey), v)])
9+ WriteSet([DataEntry(toBase58String(i.callerPublicKey), v)])
1210 }
1311
1412
1513 @Verifier(tx)
1614 func verify () = match tx {
1715 case t: SetScriptTransaction =>
1816 sigVerify(tx.bodyBytes, tx.proofs[0], owner)
1917 case c: InvokeScriptTransaction =>
2018 true
2119 case d: DataTransaction =>
2220 true
2321 case _ =>
2422 false
2523 }
2624

github/deemru/w8io/169f3d6 
46.18 ms