tx · 3fRmNwYH1vWzf6kiuuFQLQnZxLxw71ZH2Pof4rYLrpUi

3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG:  -0.01400000 Waves

2018.12.16 17:02 [407476] smart account 3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG > SELF 0.00000000 Waves

{ "type": 13, "id": "3fRmNwYH1vWzf6kiuuFQLQnZxLxw71ZH2Pof4rYLrpUi", "fee": 1400000, "feeAssetId": null, "timestamp": 1544968987898, "version": 1, "sender": "3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG", "senderPublicKey": "HtMUreD2WD1BYXE1idEnZSvBBS4iur2pjr48oRzxoUZW", "proofs": [ "2rfFZQ91HKsDS5rib18mcKkWTxBn2Zmjr7Tyn1uoFSu3ScSnuK1MXu7HKmE1vFtd1Eddqjb3P98t47TmhDTfnhSP" ], "script": "base64:AQQAAAAFYWxpY2UBAAAAIBIgYf2YRQEizbDQmyvXnTeWcaEDCicogXF9q9TV1AJOBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAGaW50VmFsCQAEGgAAAAIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQIAAAAKaW50ZWdlclZhbAMJAQAAAAlpc0RlZmluZWQAAAABBQAAAAZpbnRWYWwJAAAAAAAAAgkBAAAAB2V4dHJhY3QAAAABBQAAAAZpbnRWYWwAAAAAAAAAAAMHBo8f1cc=", "chainId": 84, "height": 407476, "spentComplexity": 0 } View: original | compacted Prev: A2d1aHXGreBwCELEHDiizfWFHJNHuF5iuLL8acXX2otH Next: AsehPciyR6EwKkjtCDWxALm9J95yEukYMkKJ8BFRdpMT Diff:
OldNewDifferences
33 let alice = base58'2DkyjASk42t2jZ7Vki6ZH9VeqGgSYRDAPEFpknPjJAFP'
44 match tx {
55 case tx: DataTransaction =>
6- let proofBinary = getBinary(addressFromPublicKey(alice), "proof")
7- let hashedVal = getBinary(addressFromPublicKey(alice), "encAge")
8- if (if (isDefined(proofBinary))
9- then isDefined(hashedVal)
10- else false)
11- then {
12- let encAge = extract(hashedVal)
13- let proof = sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(extract(proofBinary)))))))))))))))))))
14- (encAge == proof)
15- }
6+ let intVal = getInteger(addressFromPublicKey(tx.proofs[1]), "integerVal")
7+ if (isDefined(intVal))
8+ then (extract(intVal) == 3)
169 else false
1710 case _ =>
1811 true
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(alice), "proof")
7- let hashedVal = getBinary(addressFromPublicKey(alice), "encAge")
8- if (if (isDefined(proofBinary))
9- then isDefined(hashedVal)
10- else false)
11- then {
12- let encAge = extract(hashedVal)
13- let proof = sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(sha256(extract(proofBinary)))))))))))))))))))
14- (encAge == proof)
15- }
6+ let intVal = getInteger(addressFromPublicKey(tx.proofs[1]), "integerVal")
7+ if (isDefined(intVal))
8+ then (extract(intVal) == 3)
169 else false
1710 case _ =>
1811 true
1912 }

github/deemru/w8io/026f985 
20.18 ms