tx · FZkpUL7DNsjYVYZubuWc4NrHFsWR9bfodZfV2mE1tXwq

3N8caGJvagcNgX3vAjSh1rK6CUB6FLHJZgb:  -0.01000000 Waves

2022.03.31 19:55 [1988344] smart account 3N8caGJvagcNgX3vAjSh1rK6CUB6FLHJZgb > SELF 0.00000000 Waves

{ "type": 13, "id": "FZkpUL7DNsjYVYZubuWc4NrHFsWR9bfodZfV2mE1tXwq", "fee": 1000000, "feeAssetId": null, "timestamp": 1648745717160, "version": 2, "chainId": 84, "sender": "3N8caGJvagcNgX3vAjSh1rK6CUB6FLHJZgb", "senderPublicKey": "JCduspBxHJw91B2J5taLiLUhqgtVgKcGjLDLUw6a8mCZ", "proofs": [ "5BUVkbw6PtpBN7gc4Hv1GvMqM81NYsA5jTsBjWM9ZsCTAuBb3ixeui6mZnQBwhcysrkpwJA7qWyYabesQG2WYNmR" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQAAAAAIb3duZXJBcHABAAAAIP+RzYO6Win3F5qXfb02pcI8J+Q7Mj8/gaPYBgtht7sWAAAAAQAAAAFpAQAAAAR2b3RlAAAAAQAAAAV2b2lzZQQAAAAPZGF0YUZyb21TdG9yYWdlCQAEHQAAAAIFAAAABHRoaXMJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkBAAAACWlzRGVmaW5lZAAAAAEFAAAAD2RhdGFGcm9tU3RvcmFnZQkAAAIAAAABAgAAACDQktGLINGD0LbQtSDQs9C+0LvQvtGB0L7QstCw0LvQuAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkFAAAABXZvaXNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAhvd25lckFwcAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAWMFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGB3EDDkw=", "height": 1988344, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HAATrPSkUeiSqrR4TAHJmm27hdmDz1KM6uDZ19GAWAF6 Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'JCduspBxHJw91B2J5taLiLUhqgtVgKcGjLDLUw6a8mCZ'
55
66 @Callable(b)
77 func vote (c) = {
88 let d = getString(this, toBase58String(b.callerPublicKey))
99 if (isDefined(d))
1010 then throw("Вы уже голосовали")
1111 else WriteSet([DataEntry(toBase58String(b.callerPublicKey), c)])
1212 }
1313
1414
1515 @Verifier(e)
1616 func f () = {
1717 let g = e
1818 if ($isInstanceOf(g, "SetScriptTransaction"))
1919 then {
2020 let h = g
2121 sigVerify(e.bodyBytes, e.proofs[0], a)
2222 }
2323 else if ($isInstanceOf(g, "InvokeScriptTransaction"))
2424 then {
2525 let i = g
2626 true
2727 }
2828 else if ($isInstanceOf(g, "DataTransaction"))
2929 then {
3030 let j = g
3131 true
3232 }
3333 else false
3434 }
3535

github/deemru/w8io/fabc49c 
38.82 ms