tx · 5NHDW8K9E4EtxpszpN9hAUyW8MjrQXy7RJqcvJHHVxC7
3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA: -1.00000000 Waves
2019.01.14 16:30 [449710] smart asset 3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA > SELF 0.00000000 DexLotto04
{
"type": 15,
"id": "5NHDW8K9E4EtxpszpN9hAUyW8MjrQXy7RJqcvJHHVxC7",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1547472626971,
"version": 1,
"sender": "3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA",
"senderPublicKey": "Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH",
"proofs": [
"5jaCBDYLV78vQ8jVHsVv5nFYsPR7Xg2mt5SzH4hDrX2MUkNHZ9Jhw3Bg4ftEriCAiTsQ8U7jtBKu8UBXREYRU6qW"
],
"assetId": "HZXhef3KRrLHJiVpVVdbDWbYNTdXoYY4FYhVt6AyAJzQ",
"script": "base64:AQQAAAAFbG90dG8BAAAAIM5/SbYnQBvmeWPjlbnQqjja9sn0WmqR6XNSaCaPDtkgBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQDAwkAAAAAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlAAAAAAAAAAABCQAAZgAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAVwcmljZQAAAAAAAAAAAQcJAAAAAAAAAgkBAAAADnRha2VSaWdodEJ5dGVzAAAAAgkAAZEAAAACCAUAAAABZQAAAAZwcm9vZnMAAAAAAAAAAAAAAAAAAAAAAAEJAAGbAAAAAQIAAAABVwYGBqflZSs=",
"chainId": 84,
"height": 449710,
"spentComplexity": 0
}
View: original | compacted
Prev: Aa2BMPYsassFDFJbfk1duzkHHCgV1ZaroeaJrLuUq4ee
Next: 6U3FjKKG6qVcZKXEhzMAqpbhBZ8hMieCBbMqmjvD8ZQH
Diff:
Old | New | | Differences |
---|
6 | 6 | | if (if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
7 | 7 | | then true |
---|
8 | 8 | | else !(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
9 | | - | then if (if ((e.buyOrder.senderPublicKey != lotto)) |
---|
| 9 | + | then if (if ((e.sellOrder.price == 1)) |
---|
10 | 10 | | then (e.buyOrder.price > 1) |
---|
11 | 11 | | else false) |
---|
12 | 12 | | then (takeRightBytes(e.proofs[0], 1) == toBytes("W")) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let lotto = base58'Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case e: ExchangeTransaction => |
---|
6 | 6 | | if (if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
7 | 7 | | then true |
---|
8 | 8 | | else !(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
9 | | - | then if (if ((e.buyOrder.senderPublicKey != lotto)) |
---|
| 9 | + | then if (if ((e.sellOrder.price == 1)) |
---|
10 | 10 | | then (e.buyOrder.price > 1) |
---|
11 | 11 | | else false) |
---|
12 | 12 | | then (takeRightBytes(e.proofs[0], 1) == toBytes("W")) |
---|
13 | 13 | | else true |
---|
14 | 14 | | else true |
---|
15 | 15 | | case _ => |
---|
16 | 16 | | true |
---|
17 | 17 | | } |
---|