tx · HyxV622QkXcTNbwtLvjqKZKvPZxiiktp4MmJzEboZgcH
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.21 14:16 [545968] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 PAR7GOGOGOGO
{
"type": 15,
"id": "HyxV622QkXcTNbwtLvjqKZKvPZxiiktp4MmJzEboZgcH",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553166964143,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"264zgy8inTLA5iuzfHeM5MRuhJciPhqRoptgoUQtdTv2qzryUvhZ9xyrL5YYr2BipMzw2SvRyNqtHX8cngb5ZMx9"
],
"assetId": "2FS8QJxMy2uDfsF8dRN4V24AukrVhwsVXjoBNWNJxENt",
"script": "base64:AgQAAAAFcHJpY2UAAAAAAAX14QAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgQAAAAOdHJhZGVkRm9yV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcGFpcgAAAAthbW91bnRBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAACnByaWNlQXNzZXQDBQAAAA50cmFkZWRGb3JXYXZlcwkAAAAAAAACCAUAAAABZQAAAAVwcmljZQUAAAAFcHJpY2UHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBgcSM5Gw",
"chainId": 84,
"height": 545968,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 4uRzEyjaAyRq3VFQoTVh2YHrgpBtXmBDKWWZyQnUh3hV
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let price = 100000000 |
---|
| 4 | + | match tx { |
---|
| 5 | + | case e: ExchangeTransaction => |
---|
| 6 | + | let pair = e.sellOrder.assetPair |
---|
| 7 | + | let tradedForWaves = if (!(isDefined(pair.amountAsset))) |
---|
| 8 | + | then true |
---|
| 9 | + | else !(isDefined(pair.priceAsset)) |
---|
| 10 | + | if (tradedForWaves) |
---|
| 11 | + | then (e.price == price) |
---|
| 12 | + | else false |
---|
| 13 | + | case _: SetAssetScriptTransaction|MassTransferTransaction|TransferTransaction => |
---|
| 14 | + | true |
---|
| 15 | + | case _ => |
---|
| 16 | + | false |
---|
| 17 | + | } |
---|