tx · C5gDBKFjQyDjzEZFuJEm2U9Bbu7PMLTWcauzicqKgXz6

3Mt7AXACT4cUpYSUsWvVteVWgp8PWkLNx4B:  -0.01000000 Waves

2019.11.05 18:04 [751759] smart account 3Mt7AXACT4cUpYSUsWvVteVWgp8PWkLNx4B > SELF 0.00000000 Waves

{ "type": 13, "id": "C5gDBKFjQyDjzEZFuJEm2U9Bbu7PMLTWcauzicqKgXz6", "fee": 1000000, "feeAssetId": null, "timestamp": 1572966111030, "version": 1, "sender": "3Mt7AXACT4cUpYSUsWvVteVWgp8PWkLNx4B", "senderPublicKey": "dChBeLecnnA7TpnYDo4fiBJA1dCyJPLosQGVqf3FeN7", "proofs": [ "5qdAtFaikRQ2KpuoSF9f5NjsVJfM1tY8RoMuqbKiF916y4KzZe7VA68at41tvHFr2RxmpmMnSZfW4QL3fV6t5QHv" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEBAAAAAQEAAAAUdm90ZXJJc0FsbG93ZWRUb1ZvdGUAAAABAAAADnZvdGVyUHVibGljS2V5BAAAABFGdW5TcGFjZUxhYlB1YktleQEAAAAaAVQt+QpBJXLhRiOSN2FkVGtnsVAE94uxIAwDCQEAAAACIT0AAAACBQAAAA52b3RlclB1YmxpY0tleQUAAAARRnVuU3BhY2VMYWJQdWJLZXkGBwAAAAEAAAABaQEAAAAEdm90ZQAAAAEAAAAHdGhlVm90ZQQAAAAPZGF0YUZyb21TdG9yYWdlCQAEGgAAAAIFAAAABHRoaXMJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkBAAAACWlzRGVmaW5lZAAAAAEFAAAAD2RhdGFGcm9tU3RvcmFnZQkAAAIAAAABAgAAAGHQktGLINGD0LbQtSDQs9C+0LvQvtGB0L7QstCw0LvQuCEg0J/QvtCy0YLQvtGA0L7QvdC+0LUg0LPQvtC70L7RgdC+0LLQsNC90LjQtSDQt9Cw0L/RgNC10YnQtdC90L4uCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQUAAAAHdGhlVm90ZQUAAAADbmlsAAAAAMM+xUg=", "chainId": 84, "height": 751759, "spentComplexity": 0 } View: original | compacted Prev: none Next: 2ryue34dwMyM2BMc6uUW6fAaGTe9788wsh6tYQJg6kBy Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func voterIsAllowedToVote (voterPublicKey) = {
5+ let FunSpaceLabPubKey = base58'3Mt7AXACT4cUpYSUsWvVteVWgp8PWkLNx4B'
6+ if ((voterPublicKey != FunSpaceLabPubKey))
7+ then true
8+ else false
9+ }
10+
11+
12+@Callable(i)
13+func vote (theVote) = {
14+ let dataFromStorage = getInteger(this, toBase58String(i.callerPublicKey))
15+ if (isDefined(dataFromStorage))
16+ then throw("Вы уже голосовали! Повтороное голосование запрещено.")
17+ else WriteSet([DataEntry(toBase58String(i.callerPublicKey), theVote)])
18+ }
19+
20+

github/deemru/w8io/026f985 
16.77 ms