tx · 4w48SrUjzrVJSd5DZXEYTh7md5CTgYQ6BKToPRWmBXrr

3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG:  -0.01400000 Waves

2018.12.16 16:55 [407468] smart account 3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG > SELF 0.00000000 Waves

{ "type": 13, "id": "4w48SrUjzrVJSd5DZXEYTh7md5CTgYQ6BKToPRWmBXrr", "fee": 1400000, "feeAssetId": null, "timestamp": 1544968495099, "version": 1, "sender": "3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG", "senderPublicKey": "HtMUreD2WD1BYXE1idEnZSvBBS4iur2pjr48oRzxoUZW", "proofs": [ "2DUzFWJJht2Stnjq3uuaXmTb8pPZLviB7L8HjR9sb5RDKzKFHjTfP433LBwjoYXbAWNRn71xm6DJ1nqfjv5R7J7X" ], "script": "base64:AQQAAAAFYWxpY2UBAAAAIBIgYf2YRQEizbDQmyvXnTeWcaEDCicogXF9q9TV1AJOBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAALcHJvb2ZCaW5hcnkJAAQcAAAAAgkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABAgAAAAVwcm9vZgQAAAAJaGFzaGVkVmFsCQAEHAAAAAIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQIAAAAGZW5jQWdlAwMJAQAAAAlpc0RlZmluZWQAAAABBQAAAAtwcm9vZkJpbmFyeQkBAAAACWlzRGVmaW5lZAAAAAEFAAAACWhhc2hlZFZhbAcEAAAABmVuY0FnZQkBAAAAB2V4dHJhY3QAAAABBQAAAAloYXNoZWRWYWwEAAAABXByb29mCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQAB9wAAAAEJAAH3AAAAAQkAAfcAAAABCQEAAAAHZXh0cmFjdAAAAAEFAAAAC3Byb29mQmluYXJ5CQAAAAAAAAIFAAAABmVuY0FnZQUAAAAFcHJvb2YHBh9PQ54=", "chainId": 84, "height": 407468, "spentComplexity": 0 } View: original | compacted Prev: 2QsHWsSE4pg59JN2B3mu5vPCKCBTChfEeCaxbzfizpEu Next: A2d1aHXGreBwCELEHDiizfWFHJNHuF5iuLL8acXX2otH Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let alice = base58'2DkyjASk42t2jZ7Vki6ZH9VeqGgSYRDAPEFpknPjJAFP'
44 match tx {
55 case tx: DataTransaction =>
66 let proofBinary = getBinary(addressFromPublicKey(tx.proofs[1]), "proof")
77 let hashedVal = getBinary(addressFromPublicKey(tx.proofs[1]), "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.39 ms