tx · HoRcEExor1hYdsRd7dToCvAh1o2TyfjC5imUBJWdtu3
3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG: -0.01400000 Waves
2018.12.16 14:50 [407334] smart account 3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG > SELF 0.00000000 Waves
{
"type": 13,
"id": "HoRcEExor1hYdsRd7dToCvAh1o2TyfjC5imUBJWdtu3",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1544961021922,
"version": 1,
"sender": "3N9mQmB1peikS3wEPFHb5NxbNxRmcqkN8MG",
"senderPublicKey": "HtMUreD2WD1BYXE1idEnZSvBBS4iur2pjr48oRzxoUZW",
"proofs": [
"4BS4QP78pcJF4HeaeinjnpYL8nAepUsnw2UEd1n2rFYyfS9BfuaAKBpctH4EG9ws6JJaPoEEj1LwZVkTmiVdEPgL"
],
"script": "base64:AQQAAAAFYWxpY2UBAAAAIBIgYf2YRQEizbDQmyvXnTeWcaEDCicogXF9q9TV1AJOBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAJaGFzaGVkVmFsCQAEHAAAAAIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQIAAAAJaGFzaGVkVmFsAwkBAAAACWlzRGVmaW5lZAAAAAEFAAAACWhhc2hlZFZhbAkAAAAAAAACBQAAAAloYXNoZWRWYWwJAAH2AAAAAQEAAAADAQIDBwaSpKY6",
"chainId": 84,
"height": 407334,
"spentComplexity": 0
}
View: original | compacted
Prev: HGJHJX3To2cZfAx9aUoo2LYnZ4q775LDodVfih8Xxeak
Next: 8iLtuhrUdGD2hJZvkYTzag53bDQLijGURVkVKKg9hUao
Diff:
Old | New | | Differences |
---|
3 | 3 | | let alice = base58'2DkyjASk42t2jZ7Vki6ZH9VeqGgSYRDAPEFpknPjJAFP' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case tx: DataTransaction => |
---|
6 | | - | let encryptedAge = getInteger(addressFromPublicKey(tx.proofs[1]), "integerVal") |
---|
7 | | - | let proof18 = getBinary(addressFromPublicKey(tx.proofs[1]), "proof") |
---|
8 | | - | if (isDefined(encryptedAge)) |
---|
9 | | - | then (encryptedAge == 3) |
---|
| 6 | + | let hashedVal = getBinary(addressFromPublicKey(tx.proofs[1]), "hashedVal") |
---|
| 7 | + | if (isDefined(hashedVal)) |
---|
| 8 | + | then (hashedVal == blake2b256(base58'Ldp')) |
---|
10 | 9 | | else false |
---|
11 | 10 | | case _ => |
---|
12 | 11 | | 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 | | - | let encryptedAge = getInteger(addressFromPublicKey(tx.proofs[1]), "integerVal") |
---|
7 | | - | let proof18 = getBinary(addressFromPublicKey(tx.proofs[1]), "proof") |
---|
8 | | - | if (isDefined(encryptedAge)) |
---|
9 | | - | then (encryptedAge == 3) |
---|
| 6 | + | let hashedVal = getBinary(addressFromPublicKey(tx.proofs[1]), "hashedVal") |
---|
| 7 | + | if (isDefined(hashedVal)) |
---|
| 8 | + | then (hashedVal == blake2b256(base58'Ldp')) |
---|
10 | 9 | | else false |
---|
11 | 10 | | case _ => |
---|
12 | 11 | | true |
---|
13 | 12 | | } |
---|