tx · 9bPnHZX6JU73BjayMKLRHYVsM7TRZ8gc81XuTPRUnWEz
3MzK2gBPJq2TeMjcUeAGc1hFFAxbSdZkDPX: -0.01400000 Waves
2019.01.31 14:42 [474408] smart account 3MzK2gBPJq2TeMjcUeAGc1hFFAxbSdZkDPX > SELF 0.00000000 Waves
{
"type": 13,
"id": "9bPnHZX6JU73BjayMKLRHYVsM7TRZ8gc81XuTPRUnWEz",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1548934986605,
"version": 1,
"sender": "3MzK2gBPJq2TeMjcUeAGc1hFFAxbSdZkDPX",
"senderPublicKey": "22GEgQRoT3xuSPQTTBNofWLnYQsn2ZTwAzd5f51CMFeb",
"proofs": [
"5xjJAG2o6V5SybCMMFF8wmYLnpYKRJ8vo7Bz7RKABsLTPM9zXc3Y7f381RcZ191nnizFeXatjjsxmAcuaEECA4ap"
],
"script": "base64:AQQAAAAKaGFzaFN0cmluZwIAAAAEdGVzdAQAAAAJaGFzaEJ5dGVzCQABmwAAAAEFAAAACmhhc2hTdHJpbmcEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAFhBQAAAAckbWF0Y2gwCQAAAAAAAAIIBQAAAAFhAAAACmF0dGFjaG1lbnQFAAAACWhhc2hCeXRlcwZImqWL",
"chainId": 84,
"height": 474408,
"spentComplexity": 0
}
View: original | compacted
Prev: 7adUhMtzGrvGCDT8eSsa5KqoXwWCVSGtZTSSmsRastgv
Next: 4y9ia2gxhrPBgaA61sU3MzdehpSyU9hSTSLuEEuE9D7D
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let hashString = "9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08" |
---|
| 3 | + | let hashString = "test" |
---|
4 | 4 | | let hashBytes = toBytes(hashString) |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case a: TransferTransaction => |
---|
7 | | - | (sha256(a.attachment) == base58'29R76C8vnPYotJ3Y53m1Hk1yTmfSzMo92mZsVzpd9kgTRfuksAbqyZ646nvjvxqq8FDbcM4CjJXFcjVwzzLkt6FH') |
---|
| 7 | + | (a.attachment == hashBytes) |
---|
8 | 8 | | case _ => |
---|
9 | 9 | | true |
---|
10 | 10 | | } |
---|