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
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func toByteVector (bv) = match bv {
5- case bv0: ByteVector =>
6- bv0
7- case _ =>
8- throw("ByteVector expected")
9-}
10-
11-
124 func asString (bv) = match bv {
135 case bv0: String =>
146 bv0
1810
1911
2012 @Callable(i)
21-func regUser (userPubKey,message) = WriteSet([DataEntry(("userPubKey_" + userPubKey), userPubKey), DataEntry("message", message)])
13+func regUser (userPubKey,message) = WriteSet([DataEntry(("userPubKey_" + userPubKey), userPubKey), DataEntry(("message" + userPubKey), message)])
2214
2315
2416 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func toByteVector (bv) = match bv {
5- case bv0: ByteVector =>
6- bv0
7- case _ =>
8- throw("ByteVector expected")
9-}
10-
11-
124 func asString (bv) = match bv {
135 case bv0: String =>
146 bv0
157 case _ =>
168 throw("ByteVector expected")
179 }
1810
1911
2012 @Callable(i)
21-func regUser (userPubKey,message) = WriteSet([DataEntry(("userPubKey_" + userPubKey), userPubKey), DataEntry("message", message)])
13+func regUser (userPubKey,message) = WriteSet([DataEntry(("userPubKey_" + userPubKey), userPubKey), DataEntry(("message" + userPubKey), message)])
2214
2315
2416 @Verifier(tx)
2517 func verifier () = match tx {
2618 case inv: InvokeScriptTransaction =>
2719 if ((inv.function == "regUser"))
2820 then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[0])))
2921 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3022 case _ =>
3123 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3224 }
3325

github/deemru/w8io/169f3d6 
32.73 ms