tx · 69wgzt1EUdYZY3ku9gZhfj3NxcPr1tzLv2Gfcyp4tfNV

3Mvqg45GNNEhYssByz8tT6BECpZd8wKyuki:  -0.01000000 Waves

2024.06.25 14:51 [3166232] smart account 3Mvqg45GNNEhYssByz8tT6BECpZd8wKyuki > SELF 0.00000000 Waves

{ "type": 13, "id": "69wgzt1EUdYZY3ku9gZhfj3NxcPr1tzLv2Gfcyp4tfNV", "fee": 1000000, "feeAssetId": null, "timestamp": 1719316144895, "version": 2, "chainId": 84, "sender": "3Mvqg45GNNEhYssByz8tT6BECpZd8wKyuki", "senderPublicKey": "Em3xR3qCDVUJh4RYP61j2iaMKdEHYvyYEA4kmBMKQHLd", "proofs": [ "dWUzUrZV7z9qtj7zowEJzMzYrz2GzV29pFDZP6yW3Q1gHxevHPJKNcPCQWExQohgMJa3rVnfJbW1cgD7GmDYWEi" ], "script": "base64:CAIHCAISAwoBAQEBFHZvdGVySXNBbGxvd2VkVG9Wb3RlAQ52b3RlclB1YmxpY0tleQQNYWxla3NlaVB1YktleQEgbiJ2oXPsyO+zUywWfXE9w9kNb9UGxDUYqYzKOycOaWEECmFubmFQdWJLZXkBIJLt6fxA3eacJLG5vh+XqmU+fWUNDlcxUXVs3DZax3EPAwMJAQIhPQIFDnZvdGVyUHVibGljS2V5BQ1hbGVrc2VpUHViS2V5CQECIT0CBQ52b3RlclB1YmxpY0tleQUKYW5uYVB1YktleQcHBgEBaQEEdm90ZQEHdGhlVm90ZQMJAQEhAQkBFHZvdGVySXNBbGxvd2VkVG9Wb3RlAQgFAWkPY2FsbGVyUHVibGljS2V5CQACAQI7WW91IGNhbiBub3Qgdm90ZSBiZWNhdXNlIHlvdSBhcmUgbm90IGluIHRoZSBsaXN0IG9mIHZvdGVycyEED2RhdGFGcm9tU3RvcmFnZQkAmggCBQR0aGlzCQDYBAEIBQFpD2NhbGxlclB1YmxpY0tleQMJAQlpc0RlZmluZWQBBQ9kYXRhRnJvbVN0b3JhZ2UJAAIBAj5Zb3UgaGF2ZSBhbHJlYWR5IHZvdGVkISBWb3RpbmcgdGhlIHNlY29uZCB0aW1lIGlzIG5vdCBhbGxvd2VkLgkAlAoCCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQDYBAEIBQFpD2NhbGxlclB1YmxpY0tleQUHdGhlVm90ZQUDbmlsBQR1bml0AAwxJ1c=", "height": 3166232, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Dj7x2vHkpEWKwK5TY7Pkvcb1wygJPmFsoUzEqeTQzaA Next: D4tbYHsbXYRkLES6md1e1bvkrpTLo7Ds5hfiNvtsCZFf Full:
OldNewDifferences
11 {-# STDLIB_VERSION 8 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func a (b) = {
5+ let c = base58'8QvKvspfNF6cUv2DFMCfvT8SrbraERqXpNMEMqBfJZ3e'
6+ let d = base58'AtYwJTqWNfwYrPnWVvfmnPTSTEioiLFzUTcZVttgDj1x'
7+ if (if ((b != c))
8+ then (b != d)
9+ else false)
10+ then false
11+ else true
12+ }
413
514
6-@Callable(a)
7-func myToken () = $Tuple2([Issue(("S_" + take(toBase58String(a.caller.bytes), 6)), "", 100000, 2, true)], unit)
15+@Callable(e)
16+func vote (f) = if (!(a(e.callerPublicKey)))
17+ then throw("You can not vote because you are not in the list of voters!")
18+ else {
19+ let g = getInteger(this, toBase58String(e.callerPublicKey))
20+ if (isDefined(g))
21+ then throw("You have already voted! Voting the second time is not allowed.")
22+ else $Tuple2([IntegerEntry(toBase58String(e.callerPublicKey), f)], unit)
23+ }
824
925

github/deemru/w8io/026f985 
28.26 ms