tx · HJjdU4DpY8EJSnXw1nxmQZvYYyHdhXzJ23ya5LFNPB3f

3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv:  -0.01400000 Waves

2019.11.08 11:15 [755717] smart account 3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv > SELF 0.00000000 Waves

{ "type": 13, "id": "HJjdU4DpY8EJSnXw1nxmQZvYYyHdhXzJ23ya5LFNPB3f", "fee": 1400000, "feeAssetId": null, "timestamp": 1573201019649, "version": 1, "sender": "3MvYrCuZcSEEpaonJMECNuAgua1N1pP4QLv", "senderPublicKey": "8M3Q3Umd3j8Awzm99M79fM53H8ciKVWraTxGrf9qktxT", "proofs": [ "5q4xR3cU7fzv9KU62ZgHNWjV52tC4e7RuEGPAEVnr3oGUCoV3XPVdjgoAJDgcMNMX5tnMk859YVzcdA54B7niESN" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQEAAAAMdG9CeXRlVmVjdG9yAAAAAQAAAAJidgQAAAAHJG1hdGNoMAUAAAACYnYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAA2J2MAUAAAAHJG1hdGNoMAUAAAADYnYwCQAAAgAAAAECAAAAE0J5dGVWZWN0b3IgZXhwZWN0ZWQAAAABAAAAAWkBAAAAB3JlZ1VzZXIAAAABAAAACnVzZXJQdWJLZXkDCQEAAAACIT0AAAACBQAAAAp1c2VyUHViS2V5AgAAACxFOEJFakRIVEQ3M0dEZ1o4ZWJlOTNQOXI4YTUzNDZOQVhiS1FoVDh3TDhURQkAAAIAAAABAgAAABB1c2VyIG5vdCBhbGxvd2VkCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAp1c2VyUHViS2V5BQAAAAp1c2VyUHViS2V5BQAAAANuaWwAAAABAAAAAnR4AQAAAAh2ZXJpZmllcgAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQAAAADaW52BQAAAAckbWF0Y2gwAwkAAAAAAAACCAUAAAADaW52AAAACGZ1bmN0aW9uAgAAAAdyZWdVc2VyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAkBAAAADHRvQnl0ZVZlY3RvcgAAAAEJAAGRAAAAAggFAAAAA2ludgAAAARhcmdzAAAAAAAAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnQ2X04", "chainId": 84, "height": 755717, "spentComplexity": 0 } View: original | compacted Prev: 5ZmdAjaMZaiFxf9kHZif3b4M8ePvGokwPe4BWR4oGpJ8 Next: J8h22vvR7pHwQwArZsYi8fgpfhx59JevCMQTUtkAGExz Diff:
OldNewDifferences
1313
1414
1515 @Callable(e)
16-func regUser (f) = if ((f != toBytes("E8BEjDHTD73GDgZ8ebe93P9r8a5346NAXbKQhT8wL8TE")))
16+func regUser (f) = if ((f != "E8BEjDHTD73GDgZ8ebe93P9r8a5346NAXbKQhT8wL8TE"))
1717 then throw("user not allowed")
1818 else WriteSet([DataEntry("userPubKey", f)])
1919
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = b
66 if ($isInstanceOf(c, "ByteVector"))
77 then {
88 let d = c
99 d
1010 }
1111 else throw("ByteVector expected")
1212 }
1313
1414
1515 @Callable(e)
16-func regUser (f) = if ((f != toBytes("E8BEjDHTD73GDgZ8ebe93P9r8a5346NAXbKQhT8wL8TE")))
16+func regUser (f) = if ((f != "E8BEjDHTD73GDgZ8ebe93P9r8a5346NAXbKQhT8wL8TE"))
1717 then throw("user not allowed")
1818 else WriteSet([DataEntry("userPubKey", f)])
1919
2020
2121 @Verifier(g)
2222 func h () = {
2323 let c = g
2424 if ($isInstanceOf(c, "InvokeScriptTransaction"))
2525 then {
2626 let i = c
2727 if ((i.function == "regUser"))
2828 then sigVerify(g.bodyBytes, g.proofs[0], a(i.args[0]))
2929 else sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
3030 }
3131 else sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
3232 }
3333

github/deemru/w8io/169f3d6 
35.21 ms