tx · FeTTsCgcsZYhAc3etSRSCTtbRp3SLNnEL76eHyPy2yy
3Mwcv6mSsqrwMyAoh3YdTXjSBQWVx2CMxH2: -0.01400000 Waves
2019.07.02 16:24 [567831] smart account 3Mwcv6mSsqrwMyAoh3YdTXjSBQWVx2CMxH2 > SELF 0.00000000 Waves
{
"type": 13,
"id": "FeTTsCgcsZYhAc3etSRSCTtbRp3SLNnEL76eHyPy2yy",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1562073864547,
"version": 1,
"sender": "3Mwcv6mSsqrwMyAoh3YdTXjSBQWVx2CMxH2",
"senderPublicKey": "9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi",
"proofs": [
"653PtBaU9XRr8m8i73ymRw9zkVaHoK6YamLoCpZNc6VnBBnbydittWNZ7fsStuRuFZyYyzubgrMWiSe86avWX2EG"
],
"script": "base64:AwQAAAALZGlnaWxpcmFQYXkBAAAAIIGltNmBhtc4XZH/2xg8adPSYHrptRihKnbat0wWPcgRBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdwUAAAAHJG1hdGNoMAMJAQAAAAlpc0RlZmluZWQAAAABCAUAAAABdwAAAAdhc3NldElkBgMJAAAAAAAAAggFAAAAAXcAAAAJcmVjaXBpZW50CQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAAtkaWdpbGlyYVBheQYJAAACAAAAAQIAAAAPY2FudCBzZW5kIHdhdmVzAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAEExlYXNlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAABeAUAAAAHJG1hdGNoMAcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABdAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAXQAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtkaWdpbGlyYVBheQavvrd9",
"chainId": 84,
"height": 567831,
"spentComplexity": 0
}
View: original | compacted
Prev: B4NRXJyAdow3cYK7Z4fnQeAVHQR93r2eHEd2rLVZGLE7
Next: Bpy2H2xpKGopuvee5WFn8w3UQ4VheHcX8Covi4Vnutrn
Diff:
Old | New | | Differences |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let digiliraPay = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' |
---|
4 | 4 | | match tx { |
---|
| 5 | + | case w: TransferTransaction => |
---|
| 6 | + | if (isDefined(w.assetId)) |
---|
| 7 | + | then true |
---|
| 8 | + | else if ((w.recipient == addressFromPublicKey(digiliraPay))) |
---|
| 9 | + | then true |
---|
| 10 | + | else throw("cant send waves") |
---|
| 11 | + | case x: MassTransferTransaction|Order|LeaseTransaction|BurnTransaction => |
---|
| 12 | + | false |
---|
| 13 | + | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
| 14 | + | sigVerify(t.bodyBytes, t.proofs[0], digiliraPay) |
---|
5 | 15 | | case _ => |
---|
6 | 16 | | true |
---|
7 | 17 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let digiliraPay = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' |
---|
4 | 4 | | match tx { |
---|
| 5 | + | case w: TransferTransaction => |
---|
| 6 | + | if (isDefined(w.assetId)) |
---|
| 7 | + | then true |
---|
| 8 | + | else if ((w.recipient == addressFromPublicKey(digiliraPay))) |
---|
| 9 | + | then true |
---|
| 10 | + | else throw("cant send waves") |
---|
| 11 | + | case x: MassTransferTransaction|Order|LeaseTransaction|BurnTransaction => |
---|
| 12 | + | false |
---|
| 13 | + | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
| 14 | + | sigVerify(t.bodyBytes, t.proofs[0], digiliraPay) |
---|
5 | 15 | | case _ => |
---|
6 | 16 | | true |
---|
7 | 17 | | } |
---|