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