tx · 7ujApLskWNzM7ChVwE47zd46grC3rZoqMpRTQGHTmqko
3Mt5BW4KVsvfxGUYuDqcfDMeoacc5GPn179: -0.01400000 Waves
2019.03.13 11:19 [534096] smart account 3Mt5BW4KVsvfxGUYuDqcfDMeoacc5GPn179 > SELF 0.00000000 Waves
{
"type": 13,
"id": "7ujApLskWNzM7ChVwE47zd46grC3rZoqMpRTQGHTmqko",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1552465176137,
"version": 1,
"sender": "3Mt5BW4KVsvfxGUYuDqcfDMeoacc5GPn179",
"senderPublicKey": "F7KHa5J2ja7H22YreD3YJ8rBEFcvpa3DvQhFG4ZUXk8P",
"proofs": [
"48RbiGgwSwQfkxPddNWT6XH53gpDGpN9f2nqzUKZVysbJhpjkJbTzA3NkC59V1BycAG39CXYPS3skK2QeeYuck1k"
],
"script": "base64:AQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAAEdHJUeAUAAAAHJG1hdGNoMAQAAAAHcG9zSGFzaAkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIIBQAAAAJ0eAAAAAZzZW5kZXICAAAABmhhc2gyNAkAAAAAAAACCQEAAAAOdGFrZVJpZ2h0Qnl0ZXMAAAACCQAAyQAAAAIIBQAAAAR0clR4AAAACmF0dGFjaG1lbnQAAAAAAAAAAAQAAAAAAAAAAAEJAAGbAAAAAQIAAAABMQYHAjfzIQ==",
"chainId": 84,
"height": 534096,
"spentComplexity": 0
}
View: original | compacted
Prev: 34VGBjiMq5d6m86UbS2Biom6jdRgXBjsyjh3Xrhhf9MC
Next: 8N2bqqSWMFX62gYzdvg718gCiEd28A3nfrtpPmXkY9J9
Diff:
Old | New | | Differences |
---|
4 | 4 | | then match tx { |
---|
5 | 5 | | case trTx: TransferTransaction => |
---|
6 | 6 | | let posHash = extract(getString(tx.sender, "hash24")) |
---|
7 | | - | if ((takeRightBytes(take(trTx.attachment, 4), 1) == toBytes("1"))) |
---|
8 | | - | then (sha256(trTx.attachment) == fromBase58String(posHash)) |
---|
9 | | - | else false |
---|
| 7 | + | (takeRightBytes(take(trTx.attachment, 4), 1) == toBytes("1")) |
---|
10 | 8 | | case _ => |
---|
11 | 9 | | true |
---|
12 | 10 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)) |
---|
4 | 4 | | then match tx { |
---|
5 | 5 | | case trTx: TransferTransaction => |
---|
6 | 6 | | let posHash = extract(getString(tx.sender, "hash24")) |
---|
7 | | - | if ((takeRightBytes(take(trTx.attachment, 4), 1) == toBytes("1"))) |
---|
8 | | - | then (sha256(trTx.attachment) == fromBase58String(posHash)) |
---|
9 | | - | else false |
---|
| 7 | + | (takeRightBytes(take(trTx.attachment, 4), 1) == toBytes("1")) |
---|
10 | 8 | | case _ => |
---|
11 | 9 | | true |
---|
12 | 10 | | } |
---|
13 | 11 | | else false |
---|