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:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'JCduspBxHJw91B2J5taLiLUhqgtVgKcGjLDLUw6a8mCZ' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | 7 | | func vote (c) = { |
---|
8 | 8 | | let d = getString(this, toBase58String(b.callerPublicKey)) |
---|
9 | 9 | | if (isDefined(d)) |
---|
10 | 10 | | then throw("Вы уже голосовали") |
---|
11 | 11 | | else WriteSet([DataEntry(toBase58String(b.callerPublicKey), c)]) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Verifier(e) |
---|
16 | 16 | | func f () = { |
---|
17 | 17 | | let g = e |
---|
18 | 18 | | if ($isInstanceOf(g, "SetScriptTransaction")) |
---|
19 | 19 | | then { |
---|
20 | 20 | | let h = g |
---|
21 | 21 | | sigVerify(e.bodyBytes, e.proofs[0], a) |
---|
22 | 22 | | } |
---|
23 | 23 | | else if ($isInstanceOf(g, "InvokeScriptTransaction")) |
---|
24 | 24 | | then { |
---|
25 | 25 | | let i = g |
---|
26 | 26 | | true |
---|
27 | 27 | | } |
---|
28 | 28 | | else if ($isInstanceOf(g, "DataTransaction")) |
---|
29 | 29 | | then { |
---|
30 | 30 | | let j = g |
---|
31 | 31 | | true |
---|
32 | 32 | | } |
---|
33 | 33 | | else false |
---|
34 | 34 | | } |
---|
35 | 35 | | |
---|