tx · 2d28VDUhAX2fJxvpsUtUpadez5UuhqrmAAkbmTYb9psZ
3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1: -0.01400000 Waves
2019.12.05 17:06 [795528] smart account 3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1 > SELF 0.00000000 Waves
{
"type": 13,
"id": "2d28VDUhAX2fJxvpsUtUpadez5UuhqrmAAkbmTYb9psZ",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1575554814228,
"version": 1,
"sender": "3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1",
"senderPublicKey": "7Cth3vi3QxBv1kwYSqPKPwp2tiddiotbKz9KHPE3SLJ9",
"proofs": [
"3SKH172rtRC8JB7GmsXFoSvrMUjpPDfMSFTeA6YsdgJBhbjKYtfQVhHFE9EcXEL3r8GATBU39zRKNVgBdDQiNKnW"
],
"script": "base64:AwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAACHBhc3N3b3JkAgAAAAZ0b3J0dWUEAAAADHBhc3N3b3JkSGFzaAIAAABAYzc4OGNkMWFhMzk0YjAzZWY3NWE3NGVkNzI0YWE1NTY1NmY2N2I3MzQwMWI1ZTIyMmZhZTM2MWM5YzE2ZjcwZQQAAAAKcGFzc1NlY3JldAkABLAAAAABCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEDCQAAAAAAAAIFAAAACHBhc3N3b3JkBQAAAApwYXNzU2VjcmV0BgkAAAIAAAABBQAAAApwYXNzU2VjcmV0CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleW5EeyQ=",
"chainId": 84,
"height": 795528,
"spentComplexity": 0
}
View: original | compacted
Prev: AnZrfympBBZVpjtW3XsT88mLNiGb1YRw2eJeffRmCudQ
Next: ATeZunhqbJBdLQFZt8w8o9KP9mRXFohZcVVZbrdjfZEn
Diff:
Old | New | | Differences |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | 5 | | let password = "tortue" |
---|
6 | 6 | | let passwordHash = "c788cd1aa394b03ef75a74ed724aa55656f67b73401b5e222fae361c9c16f70e" |
---|
7 | | - | let passSecret = toBase58String(sha256(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(sha256(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 | | } |
---|