tx · 2JtCZLtPrAMjvHa2rbiNvb6LBYdbjrmBBxpmGjy5YMPm
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.21 04:43 [545392] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 PAR106
{
"type": 15,
"id": "2JtCZLtPrAMjvHa2rbiNvb6LBYdbjrmBBxpmGjy5YMPm",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553132626489,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"3CS9oF9VLu5eRG9C9krp6eCPcHtULotNJxDj6J1TUMYvRdfpBoKK4zMPSpdMgPCDmVgrrkkpg3VoH3jVEVjj3L8S"
],
"assetId": "3YkZtFAzGeP5hct6aUBcpyG71QJpTKosZZPGczfbHx7o",
"script": "base64:AgQAAAAKc3RhcnRQcmljZQAAAAAAO5rKAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABHBhaXIICAUAAAABZQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIEAAAADnRyYWRlZEZvcldhdmVzCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcGFpcgAAAApwcmljZUFzc2V0AwUAAAAOdHJhZGVkRm9yV2F2ZXMJAABnAAAAAggFAAAAAWUAAAAFcHJpY2UFAAAACnN0YXJ0UHJpY2UHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24GBgVVYI8=",
"chainId": 84,
"height": 545392,
"spentComplexity": 0
}
View: original | compacted
Prev: 4y7LZv31bDnRAAcP51M9uCTrYDGpCbadFftgL8dDoNqQ
Next: 5r5fPuZcWMXDprjYh3ti4c7oEmdg8WM7uPcfmT8TaXPS
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let startPrice = 1000000000 |
---|
3 | 4 | | match tx { |
---|
4 | | - | case t: ExchangeTransaction|BurnTransaction => |
---|
5 | | - | false |
---|
| 5 | + | case e: ExchangeTransaction => |
---|
| 6 | + | let pair = e.buyOrder.assetPair |
---|
| 7 | + | let tradedForWaves = !(isDefined(pair.priceAsset)) |
---|
| 8 | + | if (tradedForWaves) |
---|
| 9 | + | then (e.price >= startPrice) |
---|
| 10 | + | else false |
---|
| 11 | + | case _: BurnTransaction => |
---|
| 12 | + | true |
---|
6 | 13 | | case _ => |
---|
7 | 14 | | true |
---|
8 | 15 | | } |
---|