tx · 8eaLZzgLHpmbskNovUWJEuvStBDGaU4dBUVJTaSetnxp

3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv:  -0.01400000 Waves

2019.11.08 12:49 [755818] smart account 3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv > SELF 0.00000000 Waves

{ "type": 13, "id": "8eaLZzgLHpmbskNovUWJEuvStBDGaU4dBUVJTaSetnxp", "fee": 1400000, "feeAssetId": null, "timestamp": 1573206632586, "version": 1, "sender": "3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv", "senderPublicKey": "8M3Q3Umd3j8Awzm99M79fM53H8ciKVWraTxGrf9qktxT", "proofs": [ "4tMHskuh3MCnFbpMqJyfMjeNpWmhdSE3hfECUaqTp5JtbewZXJQkGPcwz1GSD2cmSF7ir3Jvaq8vsM4T548mmfVY" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAEBAAAACGFzU3RyaW5nAAAAAQAAAAJidgQAAAAHJG1hdGNoMAUAAAACYnYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAADYnYwBQAAAAckbWF0Y2gwBQAAAANidjAJAAACAAAAAQIAAAATQnl0ZVZlY3RvciBleHBlY3RlZAAAAAEAAAABaQEAAAAHcmVnVXNlcgAAAAIAAAAKdXNlclB1YktleQAAAAdtZXNzYWdlCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAAC3VzZXJQdWJLZXlfBQAAAAp1c2VyUHViS2V5BQAAAAp1c2VyUHViS2V5CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAAB21lc3NhZ2UFAAAACnVzZXJQdWJLZXkFAAAAB21lc3NhZ2UFAAAAA25pbAAAAAEAAAACdHgBAAAACHZlcmlmaWVyAAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAB3JlZ1VzZXIJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEJAQAAAAhhc1N0cmluZwAAAAEJAAGRAAAAAggFAAAAA2ludgAAAARhcmdzAAAAAAAAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXl6b/t2", "chainId": 84, "height": 755818, "spentComplexity": 0 } View: original | compacted Prev: 65FSLcRGS9dwGoQN4CS8TDR9hDBwpsaA35AuDfZwrGqB Next: none Diff:
OldNewDifferences
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
5- let c = b
6- if ($isInstanceOf(c, "ByteVector"))
7- then {
8- let d = c
9- d
10- }
11- else throw("ByteVector expected")
12- }
13-
14-
15-func e (b) = {
165 let c = b
176 if ($isInstanceOf(c, "String"))
187 then {
2312 }
2413
2514
26-@Callable(f)
27-func regUser (g,h) = WriteSet([DataEntry(("userPubKey_" + g), g), DataEntry("message", h)])
15+@Callable(e)
16+func regUser (f,g) = WriteSet([DataEntry(("userPubKey_" + f), f), DataEntry(("message" + f), g)])
2817
2918
30-@Verifier(i)
31-func j () = {
32- let c = i
19+@Verifier(h)
20+func i () = {
21+ let c = h
3322 if ($isInstanceOf(c, "InvokeScriptTransaction"))
3423 then {
35- let k = c
36- if ((k.function == "regUser"))
37- then sigVerify(i.bodyBytes, i.proofs[0], fromBase58String(e(k.args[0])))
38- else sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
24+ let j = c
25+ if ((j.function == "regUser"))
26+ then sigVerify(h.bodyBytes, h.proofs[0], fromBase58String(a(j.args[0])))
27+ else sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
3928 }
40- else sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
29+ else sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
4130 }
4231
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
5- let c = b
6- if ($isInstanceOf(c, "ByteVector"))
7- then {
8- let d = c
9- d
10- }
11- else throw("ByteVector expected")
12- }
13-
14-
15-func e (b) = {
165 let c = b
176 if ($isInstanceOf(c, "String"))
187 then {
198 let d = c
209 d
2110 }
2211 else throw("ByteVector expected")
2312 }
2413
2514
26-@Callable(f)
27-func regUser (g,h) = WriteSet([DataEntry(("userPubKey_" + g), g), DataEntry("message", h)])
15+@Callable(e)
16+func regUser (f,g) = WriteSet([DataEntry(("userPubKey_" + f), f), DataEntry(("message" + f), g)])
2817
2918
30-@Verifier(i)
31-func j () = {
32- let c = i
19+@Verifier(h)
20+func i () = {
21+ let c = h
3322 if ($isInstanceOf(c, "InvokeScriptTransaction"))
3423 then {
35- let k = c
36- if ((k.function == "regUser"))
37- then sigVerify(i.bodyBytes, i.proofs[0], fromBase58String(e(k.args[0])))
38- else sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
24+ let j = c
25+ if ((j.function == "regUser"))
26+ then sigVerify(h.bodyBytes, h.proofs[0], fromBase58String(a(j.args[0])))
27+ else sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
3928 }
40- else sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
29+ else sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
4130 }
4231

github/deemru/w8io/169f3d6 
31.13 ms