tx · 7xm264drmUQv3vpG39UQJvmWXyBV4CtZDGewFojNDUoo
3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1: -0.01400000 Waves
2019.12.05 16:50 [795511] smart account 3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1 > SELF 0.00000000 Waves
{
"type": 13,
"id": "7xm264drmUQv3vpG39UQJvmWXyBV4CtZDGewFojNDUoo",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1575553793463,
"version": 1,
"sender": "3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1",
"senderPublicKey": "7Cth3vi3QxBv1kwYSqPKPwp2tiddiotbKz9KHPE3SLJ9",
"proofs": [
"5pki26U7hkESMjaSeuTYPd3R5hXdeFxSimYLucFFUXuStHgT1DwcbN59TjKrMsM4aciH4NQj5D5cxbx6T7L9VhEy"
],
"script": "base64:AwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAACHBhc3N3b3JkAgAAAAZ0b3J0dWUEAAAADHBhc3N3b3JkSGFzaAIAAABAYzc4OGNkMWFhMzk0YjAzZWY3NWE3NGVkNzI0YWE1NTY1NmY2N2I3MzQwMWI1ZTIyMmZhZTM2MWM5YzE2ZjcwZQQAAAAKcGFzc1NlY3JldAkABLAAAAABCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEDCQAAAAAAAAIFAAAACHBhc3N3b3JkBQAAAApwYXNzU2VjcmV0BgkAAAIAAAABBQAAAApwYXNzU2VjcmV0CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleW5EeyQ=",
"chainId": 84,
"height": 795511,
"spentComplexity": 0
}
View: original | compacted
Prev: EZRksHhkBXiL4pZr9pNG9iL1iu7sxJn1Tsi1N2GYJxe1
Next: DutUnu9rjjDKyp4SbQUojBuMosj45A164LN8bRebDiYn
Diff:
Old | New | | Differences |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | 5 | | let password = "tortue" |
---|
6 | 6 | | let passwordHash = "c788cd1aa394b03ef75a74ed724aa55656f67b73401b5e222fae361c9c16f70e" |
---|
7 | | - | let passSecret = toBase58String(extract(tx.proofs[1])) |
---|
| 7 | + | let passSecret = toUtf8String(tx.proofs[1]) |
---|
8 | 8 | | if ((password == passSecret)) |
---|
9 | 9 | | then true |
---|
10 | 10 | | else throw(passSecret) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | 5 | | let password = "tortue" |
---|
6 | 6 | | let passwordHash = "c788cd1aa394b03ef75a74ed724aa55656f67b73401b5e222fae361c9c16f70e" |
---|
7 | | - | let passSecret = toBase58String(extract(tx.proofs[1])) |
---|
| 7 | + | let passSecret = toUtf8String(tx.proofs[1]) |
---|
8 | 8 | | if ((password == passSecret)) |
---|
9 | 9 | | then true |
---|
10 | 10 | | else throw(passSecret) |
---|
11 | 11 | | case _ => |
---|
12 | 12 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
13 | 13 | | } |
---|