tx · 4J9uCXP8rbYijABYDLawC5hB1egFRYRMWXzifHVNcB5Q
3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1: -0.01400000 Waves
2019.12.05 13:47 [795330] smart account 3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1 > SELF 0.00000000 Waves
{
"type": 13,
"id": "4J9uCXP8rbYijABYDLawC5hB1egFRYRMWXzifHVNcB5Q",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1575542876006,
"version": 1,
"sender": "3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1",
"senderPublicKey": "7Cth3vi3QxBv1kwYSqPKPwp2tiddiotbKz9KHPE3SLJ9",
"proofs": [
"hxJ3utiRY4S5UK6nSefxFPKsF3hWNhe3X39iNiFB9VuET3wxiLpYryMuAsUNCyVnp4vrgbQt9kysQgC3jYJjTDe"
],
"script": "base64:AwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAACHBhc3N3b3JkAgAAAEBjNzg4Y2QxYWEzOTRiMDNlZjc1YTc0ZWQ3MjRhYTU1NjU2ZjY3YjczNDAxYjVlMjIyZmFlMzYxYzljMTZmNzBlBAAAAApwYXNzU2VjcmV0CQACWgAAAAEJAAH3AAAAAQkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABAwkAAAAAAAACBQAAAAhwYXNzd29yZAUAAAAKcGFzc1NlY3JldAYJAAACAAAAAQkAAloAAAABCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5LVCj0A==",
"chainId": 84,
"height": 795330,
"spentComplexity": 0
}
View: original | compacted
Prev: DFm66cYRagRN4dZDqnYFawJhuwJxwSR3qSCB1eCbi641
Next: BWkvkbZdFn6Z4ke2JBJ54UU3E2Z4fnj4RTaCJcM1T4Kk
Diff:
Old | New | | Differences |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | | - | let password = base58'5FGAoyavy4jxTqr6xSfRDhvJxfnwKs2XcDnAtRXn8msRXg9jmMyMAvvQF1DnJNW6td' |
---|
6 | | - | let passSecret = sha256(tx.proofs[1]) |
---|
| 5 | + | let password = "c788cd1aa394b03ef75a74ed724aa55656f67b73401b5e222fae361c9c16f70e" |
---|
| 6 | + | let passSecret = toBase64String(sha256(tx.proofs[1])) |
---|
7 | 7 | | if ((password == passSecret)) |
---|
8 | 8 | | then true |
---|
9 | | - | else throw(toUtf8String(tx.proofs[1])) |
---|
| 9 | + | else throw(toBase64String(tx.proofs[1])) |
---|
10 | 10 | | case _ => |
---|
11 | 11 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
12 | 12 | | } |
---|
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 = base58'5FGAoyavy4jxTqr6xSfRDhvJxfnwKs2XcDnAtRXn8msRXg9jmMyMAvvQF1DnJNW6td' |
---|
6 | | - | let passSecret = sha256(tx.proofs[1]) |
---|
| 5 | + | let password = "c788cd1aa394b03ef75a74ed724aa55656f67b73401b5e222fae361c9c16f70e" |
---|
| 6 | + | let passSecret = toBase64String(sha256(tx.proofs[1])) |
---|
7 | 7 | | if ((password == passSecret)) |
---|
8 | 8 | | then true |
---|
9 | | - | else throw(toUtf8String(tx.proofs[1])) |
---|
| 9 | + | else throw(toBase64String(tx.proofs[1])) |
---|
10 | 10 | | case _ => |
---|
11 | 11 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
12 | 12 | | } |
---|