tx · ExTLajzPpxipJoh6MpZRiDWYwDisRcMZsAVrizYEqzqh
3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG: -0.01400000 Waves
2018.12.16 04:17 [406685] smart account 3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG > SELF 0.00000000 Waves
{
"type": 13,
"id": "ExTLajzPpxipJoh6MpZRiDWYwDisRcMZsAVrizYEqzqh",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1544923128611,
"version": 1,
"sender": "3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG",
"senderPublicKey": "HtMUreD2WD1BYXE1idEnZSvBBS4iur2pjr48oRzxoUZW",
"proofs": [
"2bwpgydaCNi7aHVtLUtve6nWmDkrastwSwpQSdYqnDZq24qTqe4Vnc7hJFNqQmXhPnkSq7wN6wDAApRJZXZRWfKT"
],
"script": "base64:AQQAAAAFYWxpY2UBAAAAIBIgYf2YRQEizbDQmyvXnTeWcaEDCicogXF9q9TV1AJOBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAcGTNBYhA==",
"chainId": 84,
"height": 406685,
"spentComplexity": 0
}
View: original | compacted
Prev: FiiN71miVLNV6hmHrN6NkKSbRLBxpE8dLvbhaMPDL39a
Next: BNG8LmNrTUUAkTTtusi5tCVThF51f9wpH8ehBmrrvxGC
Diff:
Old | New | | Differences |
---|
3 | 3 | | let alice = base58'2DkyjASk42t2jZ7Vki6ZH9VeqGgSYRDAPEFpknPjJAFP' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case tx: DataTransaction => |
---|
6 | | - | let encryptedAge = extract(getBinary(addressFromPublicKey(alice), "encryptedAge")) |
---|
7 | | - | let proof18 = extract(getBinary(addressFromPublicKey(alice), "proof18")) |
---|
8 | | - | if (isDefined(encryptedAge)) |
---|
9 | | - | then if (isDefined(proof18)) |
---|
10 | | - | then { |
---|
11 | | - | let verifiedAge = blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(proof18)))))))))))))))))) |
---|
12 | | - | let olderThan21 = (encryptedAge == verifiedAge) |
---|
13 | | - | olderThan21 |
---|
14 | | - | } |
---|
15 | | - | else false |
---|
16 | | - | else false |
---|
| 6 | + | false |
---|
17 | 7 | | case _ => |
---|
18 | 8 | | true |
---|
19 | 9 | | } |
---|
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 | | - | let encryptedAge = extract(getBinary(addressFromPublicKey(alice), "encryptedAge")) |
---|
7 | | - | let proof18 = extract(getBinary(addressFromPublicKey(alice), "proof18")) |
---|
8 | | - | if (isDefined(encryptedAge)) |
---|
9 | | - | then if (isDefined(proof18)) |
---|
10 | | - | then { |
---|
11 | | - | let verifiedAge = blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(blake2b256(proof18)))))))))))))))))) |
---|
12 | | - | let olderThan21 = (encryptedAge == verifiedAge) |
---|
13 | | - | olderThan21 |
---|
14 | | - | } |
---|
15 | | - | else false |
---|
16 | | - | else false |
---|
| 6 | + | false |
---|
17 | 7 | | case _ => |
---|
18 | 8 | | true |
---|
19 | 9 | | } |
---|