tx · 6NCXB8JQcrk7wBtWcUGk3TRjxfGEoPYd38jK4QHLTonQ
3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu: -0.01400000 Waves
2019.01.23 22:49 [463229] smart account 3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu > SELF 0.00000000 Waves
{
"type": 13,
"id": "6NCXB8JQcrk7wBtWcUGk3TRjxfGEoPYd38jK4QHLTonQ",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1548272977495,
"version": 1,
"sender": "3N4Z7j4oSNfJVUtP4kmMKbhZD5n4xPFpPAu",
"senderPublicKey": "F3DbYSfYZz6arcD6Mst8HdWScxTeWvTvatC7jp4DGryX",
"proofs": [
"2Tq9V8fvjcwaqf8dZwpWRPpnPiypb87R13u1mFS61NYpKUMkVAdd8aoqQ6VB5sKiM6z9wXHgfcyZ7FV3UfZV6MS1"
],
"script": "base64:AQQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAAR0eElkCQEAAAAHZXh0cmFjdAAAAAEJAAQcAAAAAgUAAAACbWUCAAAABGtleTEEAAAAAmVxCQAAAAAAAAIFAAAABHR4SWQIBQAAAAJ0eAAAAAJpZAMFAAAAAmVxBgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5y3NCHw==",
"chainId": 84,
"height": 463229,
"spentComplexity": 0
}
View: original | compacted
Prev: 9JU2yF8QexiQp1etai5979RuPJ8HfuHHb6Y3WkMkfMRq
Next: XLDx2GbKfFE5VTfXRL34JWge5LsK4yihN2ypQfJvWiX
Diff:
Old | New | | Differences |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | 6 | | let txId = extract(getBinary(me, "key1")) |
---|
7 | | - | true |
---|
| 7 | + | let eq = (txId == tx.id) |
---|
| 8 | + | if (eq) |
---|
| 9 | + | then true |
---|
| 10 | + | else true |
---|
8 | 11 | | case _ => |
---|
9 | 12 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
10 | 13 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let me = tx.sender |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | 6 | | let txId = extract(getBinary(me, "key1")) |
---|
7 | | - | true |
---|
| 7 | + | let eq = (txId == tx.id) |
---|
| 8 | + | if (eq) |
---|
| 9 | + | then true |
---|
| 10 | + | else true |
---|
8 | 11 | | case _ => |
---|
9 | 12 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
10 | 13 | | } |
---|