tx · uh6PweYX4Besd56qGfiXQXEVW5yK4jYtHhquM9oThFp
3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG: -0.01400000 Waves
2018.12.16 15:47 [407403] smart account 3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG > SELF 0.00000000 Waves
{
"type": 13,
"id": "uh6PweYX4Besd56qGfiXQXEVW5yK4jYtHhquM9oThFp",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1544964463017,
"version": 1,
"sender": "3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG",
"senderPublicKey": "HtMUreD2WD1BYXE1idEnZSvBBS4iur2pjr48oRzxoUZW",
"proofs": [
"5iJPNV1q2h4vrnMZ7d14vQBSTtZcPnCSP7JWhREj68FEyrfDWgx2LEBQ7nPBrpX3F522xVQCMi67Mvq8P8AVuXRd"
],
"script": "base64:AQQAAAAFYWxpY2UBAAAAIBIgYf2YRQEizbDQmyvXnTeWcaEDCicogXF9q9TV1AJOBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAALcHJvb2ZCaW5hcnkJAAQcAAAAAgkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABAgAAAAVwcm9vZgQAAAAJaGFzaGVkVmFsCQAEHAAAAAIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQIAAAAGZW5jQWdlAwMJAQAAAAlpc0RlZmluZWQAAAABBQAAAAtwcm9vZkJpbmFyeQkBAAAACWlzRGVmaW5lZAAAAAEFAAAACWhhc2hlZFZhbAcJAAAAAAAAAgkBAAAAB2V4dHJhY3QAAAABBQAAAAloYXNoZWRWYWwJAAH3AAAAAQkBAAAAB2V4dHJhY3QAAAABBQAAAAtwcm9vZkJpbmFyeQcG2EFC8A==",
"chainId": 84,
"height": 407403,
"spentComplexity": 0
}
View: original | compacted
Prev: 51EJHaACREF5dSPj18jEkefTaYEFJwLwJajMQLiqsa5Z
Next: 4j1vJVRsT6ZKQgW5Xvp5XEdPTR93i25iYSZFCEdFzLpD
Diff:
Old | New | | Differences |
---|
8 | 8 | | if (if (isDefined(proofBinary)) |
---|
9 | 9 | | then isDefined(hashedVal) |
---|
10 | 10 | | else false) |
---|
11 | | - | then (extract(hashedVal) == sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(extract(proofBinary)))))))))))))))))))) |
---|
| 11 | + | then (extract(hashedVal) == sha256(extract(proofBinary))) |
---|
12 | 12 | | else false |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let alice = base58'2DkyjASk42t2jZ7Vki6ZH9VeqGgSYRDAPEFpknPjJAFP' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case tx: DataTransaction => |
---|
6 | 6 | | let proofBinary = getBinary(addressFromPublicKey(tx.proofs[1]), "proof") |
---|
7 | 7 | | let hashedVal = getBinary(addressFromPublicKey(tx.proofs[1]), "encAge") |
---|
8 | 8 | | if (if (isDefined(proofBinary)) |
---|
9 | 9 | | then isDefined(hashedVal) |
---|
10 | 10 | | else false) |
---|
11 | | - | then (extract(hashedVal) == sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(extract(proofBinary)))))))))))))))))))) |
---|
| 11 | + | then (extract(hashedVal) == sha256(extract(proofBinary))) |
---|
12 | 12 | | else false |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | true |
---|
15 | 15 | | } |
---|