tx · 2HTwZWg1nuvCthRDFjxB4NMqHwc4FDDsj99yJAu1Ntfv
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.21 07:52 [545582] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 PAR ZERO
{
"type": 15,
"id": "2HTwZWg1nuvCthRDFjxB4NMqHwc4FDDsj99yJAu1Ntfv",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553143786795,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"5KwtRJTLNg5Kn72sTpkKVKE5kwT4PDhLXWLLcVporxYnBvq33pcp2aNFCobEgZnhravPzbPZvi9sqXdGVVevfiDh"
],
"assetId": "HijwxGkayqBU8eA6g35Sa1FbRzGvfeXDWKDFhD9hUSEs",
"script": "base64:AgQAAAAFcHJpY2UAAAAAAACYloAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgQAAAAOdHJhZGVkRm9yV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcGFpcgAAAAthbW91bnRBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAACnByaWNlQXNzZXQDBQAAAA50cmFkZWRGb3JXYXZlcwkAAGcAAAACBQAAAAVwcmljZQgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAVwcmljZQcGhdX5WQ==",
"chainId": 84,
"height": 545582,
"spentComplexity": 0
}
View: original | compacted
Prev: ESrUwJxTKRsJ1KwV4SDssisSf2fc9hVPgsYGZhPnAtBP
Next: HT5sDctLgaheJDomkAn3Baoq8vJ1ci8q2xtu9tudf1SJ
Diff:
Old | New | | Differences |
---|
8 | 8 | | then true |
---|
9 | 9 | | else !(isDefined(pair.priceAsset)) |
---|
10 | 10 | | if (tradedForWaves) |
---|
11 | | - | then (e.sellOrder.price >= price) |
---|
| 11 | + | then (price >= e.sellOrder.price) |
---|
12 | 12 | | else false |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let price = 10000000 |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case e: ExchangeTransaction => |
---|
6 | 6 | | let pair = e.sellOrder.assetPair |
---|
7 | 7 | | let tradedForWaves = if (!(isDefined(pair.amountAsset))) |
---|
8 | 8 | | then true |
---|
9 | 9 | | else !(isDefined(pair.priceAsset)) |
---|
10 | 10 | | if (tradedForWaves) |
---|
11 | | - | then (e.sellOrder.price >= price) |
---|
| 11 | + | then (price >= e.sellOrder.price) |
---|
12 | 12 | | else false |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | true |
---|
15 | 15 | | } |
---|