tx · CmCVjQhj5gjUyCwuoSdtHd1Thp7B9YRHtNd7sL7BarwP

3MwJs4qEYwYXRG4KfQYFHW1stB4EDCcefBE:  -0.01000000 Waves

2019.09.05 19:17 [662954] smart account 3MwJs4qEYwYXRG4KfQYFHW1stB4EDCcefBE > SELF 0.00000000 Waves

{ "type": 13, "id": "CmCVjQhj5gjUyCwuoSdtHd1Thp7B9YRHtNd7sL7BarwP", "fee": 1000000, "feeAssetId": null, "timestamp": 1567700280147, "version": 1, "sender": "3MwJs4qEYwYXRG4KfQYFHW1stB4EDCcefBE", "senderPublicKey": "7Se4wiHi4WguZiftZ9xdn5CM8ZjHywk4W7tzYcKQfzF7", "proofs": [ "2GfAUL8bu7NhgzCxEFdHpVa5TtUZC46Z2vAp6bQ1BFYisceS5fowPwvGRCT1xRE8F8XW8fZsW6jWgitaJEDwWxhF" ], "script": "base64:AAIDAAAAAAAAAAAAAAAFAAAAAAdtaW5Wb3RlAAAAAAAAAAABAAAAAAdtYXhWb3RlAAAAAAAAAAACAAAAABJzdG9wQmxvY2tUaW1lc3RhbXAAAAABbQJsEiAAAAAAD3N1Ym1pdEtleVByZWZpeAIAAAAHc3VibWl0XwEAAAAMZ2V0U3VibWl0S2V5AAAAAQAAAA9jYWxsZXJQdWJsaWNLZXkJAAEsAAAAAgUAAAAPc3VibWl0S2V5UHJlZml4CQACWAAAAAEFAAAAD2NhbGxlclB1YmxpY0tleQAAAAEAAAADY3R4AQAAAAR2b3RlAAAAAQAAAAd0aGVWb3RlAwkAAGcAAAACCAUAAAAJbGFzdEJsb2NrAAAACXRpbWVzdGFtcAUAAAASc3RvcEJsb2NrVGltZXN0YW1wCQAAAgAAAAECAAAAOVZvdGluZyBpcyBvdmVyLCBzaW5jZSB0aGUgc3RvcCBibG9jayB0aW1lc3RhbXAgaXMgcmVhY2hlZAQAAAAPZGF0YUZyb21TdG9yYWdlCQAEGgAAAAIFAAAABHRoaXMJAAJYAAAAAQgFAAAAA2N0eAAAAA9jYWxsZXJQdWJsaWNLZXkDCQEAAAAJaXNEZWZpbmVkAAAAAQUAAAAPZGF0YUZyb21TdG9yYWdlCQAAAgAAAAECAAAAN1lvdSBoYXZlIGFscmVhZHkgdm90ZWQhIER1cGxpY2F0ZSB2b3RlcyBhcmUgcHJvaGliaXRlZC4DAwkAAGYAAAACBQAAAAdtaW5Wb3RlBQAAAAd0aGVWb3RlBgkAAGYAAAACBQAAAAd0aGVWb3RlBQAAAAdtYXhWb3RlCQAAAgAAAAECAAAAFFZvdGUgaXMgb3V0IG9mIHJhbmdlCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQEAAAAMZ2V0U3VibWl0S2V5AAAAAQgFAAAAA2N0eAAAAA9jYWxsZXJQdWJsaWNLZXkFAAAAB3RoZVZvdGUFAAAAA25pbAAAAAEAAAABdAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAABdAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAWkFAAAAByRtYXRjaDAGCQAAAgAAAAECAAAAJlRoaXMgdHlwZSBvZiB0cmFuc2FjdGlvbiBpcyBwcm9oaWJpdGVkjOBxhQ==", "chainId": 84, "height": 662954, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = 1
5+
6+let b = 2
7+
8+let c = 1567703700000
9+
10+let d = "submit_"
11+
12+func e (f) = (d + toBase58String(f))
13+
14+
15+@Callable(g)
16+func vote (h) = if ((lastBlock.timestamp >= c))
17+ then throw("Voting is over, since the stop block timestamp is reached")
18+ else {
19+ let i = getInteger(this, toBase58String(g.callerPublicKey))
20+ if (isDefined(i))
21+ then throw("You have already voted! Duplicate votes are prohibited.")
22+ else if (if ((a > h))
23+ then true
24+ else (h > b))
25+ then throw("Vote is out of range")
26+ else WriteSet([DataEntry(e(g.callerPublicKey), h)])
27+ }
28+
29+
30+@Verifier(j)
31+func k () = {
32+ let l = j
33+ if ($isInstanceOf(l, "InvokeScriptTransaction"))
34+ then {
35+ let m = l
36+ true
37+ }
38+ else throw("This type of transaction is prohibited")
39+ }
40+

github/deemru/w8io/026f985 
18.85 ms