tx · GiCT1BXckvrAtz5iP6pYmNGw6ZbwRAEWgnGvqJ8wTZs4

3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG:  -0.01400000 Waves

2018.12.16 16:52 [407465] smart account 3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG > SELF 0.00000000 Waves

{ "type": 13, "id": "GiCT1BXckvrAtz5iP6pYmNGw6ZbwRAEWgnGvqJ8wTZs4", "fee": 1400000, "feeAssetId": null, "timestamp": 1544968367840, "version": 1, "sender": "3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG", "senderPublicKey": "HtMUreD2WD1BYXE1idEnZSvBBS4iur2pjr48oRzxoUZW", "proofs": [ "5nBupqDBhZJ1DLVAmq5cx9UCbV4krn6Ph3x7hGLqYajKV4Ebfm4BFXKACoHNsauyhGGUiciPdi63ocZubPVFYyLX" ], "script": "base64:AQQAAAAFYWxpY2UBAAAAIBIgYf2YRQEizbDQmyvXnTeWcaEDCicogXF9q9TV1AJOBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAALcHJvb2ZCaW5hcnkJAAQcAAAAAgkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAFYWxpY2UCAAAABXByb29mBAAAAAloYXNoZWRWYWwJAAQcAAAAAgkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAFYWxpY2UCAAAABmVuY0FnZQMDCQEAAAAJaXNEZWZpbmVkAAAAAQUAAAALcHJvb2ZCaW5hcnkJAQAAAAlpc0RlZmluZWQAAAABBQAAAAloYXNoZWRWYWwHBAAAAAZlbmNBZ2UJAQAAAAdleHRyYWN0AAAAAQUAAAAJaGFzaGVkVmFsBAAAAAVwcm9vZgkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkBAAAAB2V4dHJhY3QAAAABBQAAAAtwcm9vZkJpbmFyeQkAAAAAAAACBQAAAAZlbmNBZ2UFAAAABXByb29mBwZiXL9S", "chainId": 84, "height": 407465, "spentComplexity": 0 } View: original | compacted Prev: 234h1hTZoKVSVDsLfLtYFkMFPm3LGfnR9Nc3FB9P62Df Next: 56wfL3uvreV3Yvy257bsMpQ9q6VRruTRZXD3UfJmhon9 Diff:
OldNewDifferences
33 let alice = base58'2DkyjASk42t2jZ7Vki6ZH9VeqGgSYRDAPEFpknPjJAFP'
44 match tx {
55 case tx: DataTransaction =>
6- let proofBinary = getBinary(addressFromPublicKey(tx.proofs[0]), "proof")
7- let hashedVal = getBinary(addressFromPublicKey(tx.proofs[0]), "encAge")
6+ let proofBinary = getBinary(addressFromPublicKey(alice), "proof")
7+ let hashedVal = getBinary(addressFromPublicKey(alice), "encAge")
88 if (if (isDefined(proofBinary))
99 then isDefined(hashedVal)
1010 else false)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let alice = base58'2DkyjASk42t2jZ7Vki6ZH9VeqGgSYRDAPEFpknPjJAFP'
44 match tx {
55 case tx: DataTransaction =>
6- let proofBinary = getBinary(addressFromPublicKey(tx.proofs[0]), "proof")
7- let hashedVal = getBinary(addressFromPublicKey(tx.proofs[0]), "encAge")
6+ let proofBinary = getBinary(addressFromPublicKey(alice), "proof")
7+ let hashedVal = getBinary(addressFromPublicKey(alice), "encAge")
88 if (if (isDefined(proofBinary))
99 then isDefined(hashedVal)
1010 else false)
1111 then {
1212 let encAge = extract(hashedVal)
1313 let proof = sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(extract(proofBinary)))))))))))))))))))
1414 (encAge == proof)
1515 }
1616 else false
1717 case _ =>
1818 true
1919 }

github/deemru/w8io/026f985 
22.34 ms