tx · G66xpDRj5P1aWMRVWPsVSwtKLPfnrVvLSa7zcHd6bjKT
3N6mVEULck7uViUaDo1wi98wch9XzYNXriv: -1.00000000 Waves
2019.02.22 08:28 [506055] smart asset 3N6mVEULck7uViUaDo1wi98wch9XzYNXriv > SELF 0.00000000 exchange
{
"type": 15,
"id": "G66xpDRj5P1aWMRVWPsVSwtKLPfnrVvLSa7zcHd6bjKT",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550813291789,
"version": 1,
"sender": "3N6mVEULck7uViUaDo1wi98wch9XzYNXriv",
"senderPublicKey": "GMCkL2F7fYotQtrpQq5sjNm5cjpR7CSfawr9kMSKLHVs",
"proofs": [
"5n6dW5yUMWdambuso9LV6jfCFeW1is9iYxcC39GWkiZbQKoLiWsSsjJrDBVCv96ztRetT7k2P1ZjE2asYujGzKZh"
],
"assetId": "CdAw5Uu1A9RT6jafc9cQSUy16naaYjzYgcVWDY8xGw8z",
"script": "base64:AQQAAAALbWluQnV5UHJpY2UAAAAAAAD+URQEAAAADG1pblNlbGxQcmljZQAAAAAAAP5SQAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAPc2VuZGVyUHVibGljS2V5BAAAAANidXkJAAH0AAAAAwgIBQAAAAFlAAAACGJ1eU9yZGVyAAAACWJvZHlCeXRlcwkAAZEAAAACCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAGcHJvb2ZzAAAAAAAAAAAACAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAPc2VuZGVyUHVibGljS2V5AwUAAAAEc2VsbAMDCQAAZgAAAAIFAAAADG1pblNlbGxQcmljZQgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAVwcmljZQYJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAkBAAAABXRocm93AAAAAAYDAwkAAGYAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAttaW5CdXlQcmljZQYJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAkBAAAABXRocm93AAAAAAYDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAYGFEEwpQ==",
"chainId": 84,
"height": 506055,
"spentComplexity": 0
}
View: original | compacted
Prev: 9rvCZiLZdc9MoqCpE8nq7gmpdkB7WNeV3fc9r6owkoQF
Next: 6pDXLUQR4N5ppnteNzAwnTLoe5N9ZDNeZyrSp3iQ6fUn
Diff:
Old | New | | Differences |
---|
12 | 12 | | else isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
13 | 13 | | then throw() |
---|
14 | 14 | | else true |
---|
15 | | - | else if (if ((e.buyOrder.price > minBuyPrice)) |
---|
| 15 | + | else if (if ((e.sellOrder.price > minBuyPrice)) |
---|
16 | 16 | | then true |
---|
17 | | - | else isDefined(e.buyOrder.assetPair.priceAsset)) |
---|
| 17 | + | else isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
18 | 18 | | then throw() |
---|
19 | 19 | | else true |
---|
20 | 20 | | case t: MassTransferTransaction|BurnTransaction|TransferTransaction => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let minBuyPrice = 16666900 |
---|
4 | 4 | | let minSellPrice = 16667200 |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | 7 | | let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) |
---|
8 | 8 | | let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey) |
---|
9 | 9 | | if (sell) |
---|
10 | 10 | | then if (if ((minSellPrice > e.sellOrder.price)) |
---|
11 | 11 | | then true |
---|
12 | 12 | | else isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
13 | 13 | | then throw() |
---|
14 | 14 | | else true |
---|
15 | | - | else if (if ((e.buyOrder.price > minBuyPrice)) |
---|
| 15 | + | else if (if ((e.sellOrder.price > minBuyPrice)) |
---|
16 | 16 | | then true |
---|
17 | | - | else isDefined(e.buyOrder.assetPair.priceAsset)) |
---|
| 17 | + | else isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
18 | 18 | | then throw() |
---|
19 | 19 | | else true |
---|
20 | 20 | | case t: MassTransferTransaction|BurnTransaction|TransferTransaction => |
---|
21 | 21 | | true |
---|
22 | 22 | | case _ => |
---|
23 | 23 | | true |
---|
24 | 24 | | } |
---|