tx · 92YvzhYAvNS9gYNW8a5sC9mSLc2tknoJh5pFpyiUEV7C
3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9: -1.00000000 Waves
2019.03.17 19:11 [540417] smart asset 3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9 > SELF 0.000 Asset2
{
"type": 15,
"id": "92YvzhYAvNS9gYNW8a5sC9mSLc2tknoJh5pFpyiUEV7C",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552839171273,
"version": 1,
"sender": "3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9",
"senderPublicKey": "3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf",
"proofs": [
"4evC1snpmPXZrNCeWDt99MtS721Eg69dQ4SWefJ8eL2YpBJxqoSJaszdvN6tXs9LNKx3ynFE48NoRucso6fLucwA"
],
"assetId": "45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZapAUIhSRM8CoTJe+vvUwnwafg3oXtEgQAAAAKRW5hYmxlQnVybgkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAABERhdGECAAAACkVuYWJsZUJ1cm4EAAAACW1pbkFtb3VudAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlBAAAAA9leHBpcmF0aW9uU3RhcnQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAREYXRhAgAAAAV2YWx1ZQQAAAANZXhwaXJhdGlvbkVuZAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlAwUAAAAKRW5hYmxlQnVybgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAACGV4Y2hhbmdlBQAAAAckbWF0Y2gwAwkAAAAAAAACCAgFAAAACGV4Y2hhbmdlAAAACGJ1eU9yZGVyAAAACW9yZGVyVHlwZQUAAAAEU2VsbAYHBgQAAAAHJG1hdGNoMAUAAAACdHgHyL270w==",
"chainId": 84,
"height": 540417,
"spentComplexity": 0
}
View: original | compacted
Prev: 8DgjU3xATviSnHw6oppWAwXihtz28JpQBXm3JDWYN6xF
Next: 9Z1EZMYNRNgWnutxtJVVsDciHZVZUtUCL7YJqAryZC76
Diff:
Old | New | | Differences |
---|
8 | 8 | | if (EnableBurn) |
---|
9 | 9 | | then match tx { |
---|
10 | 10 | | case exchange: ExchangeTransaction => |
---|
11 | | - | if ((exchange.buyOrder.orderType == Buy)) |
---|
| 11 | + | if ((exchange.buyOrder.orderType == Sell)) |
---|
12 | 12 | | then true |
---|
13 | | - | else if ((exchange.sellOrder.orderType == Sell)) |
---|
14 | | - | then false |
---|
15 | | - | else false |
---|
| 13 | + | else false |
---|
16 | 14 | | case _ => |
---|
17 | 15 | | true |
---|
18 | 16 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let Data = Address(base58'3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9') |
---|
4 | 4 | | let EnableBurn = extract(getBoolean(Data, "EnableBurn")) |
---|
5 | 5 | | let minAmount = extract(getInteger(Data, "value")) |
---|
6 | 6 | | let expirationStart = extract(getInteger(Data, "value")) |
---|
7 | 7 | | let expirationEnd = extract(getInteger(Data, "value")) |
---|
8 | 8 | | if (EnableBurn) |
---|
9 | 9 | | then match tx { |
---|
10 | 10 | | case exchange: ExchangeTransaction => |
---|
11 | | - | if ((exchange.buyOrder.orderType == Buy)) |
---|
| 11 | + | if ((exchange.buyOrder.orderType == Sell)) |
---|
12 | 12 | | then true |
---|
13 | | - | else if ((exchange.sellOrder.orderType == Sell)) |
---|
14 | | - | then false |
---|
15 | | - | else false |
---|
| 13 | + | else false |
---|
16 | 14 | | case _ => |
---|
17 | 15 | | true |
---|
18 | 16 | | } |
---|
19 | 17 | | else match tx { |
---|
20 | 18 | | case _ => |
---|
21 | 19 | | false |
---|
22 | 20 | | } |
---|