tx · 9Z1EZMYNRNgWnutxtJVVsDciHZVZUtUCL7YJqAryZC76
3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9: -1.00000000 Waves
2019.03.17 19:13 [540418] smart asset 3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9 > SELF 0.000 Asset2
{
"type": 15,
"id": "9Z1EZMYNRNgWnutxtJVVsDciHZVZUtUCL7YJqAryZC76",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552839275354,
"version": 1,
"sender": "3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9",
"senderPublicKey": "3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf",
"proofs": [
"4SnuzbMEAG8PV6KjhKK2nJst2NPcfYWVR1DwS9mepMNXkn5GPsjD1eSDaHDazucwAFxtC8x6NFUq1D4m63yezDtL"
],
"assetId": "45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZapAUIhSRM8CoTJe+vvUwnwafg3oXtEgQAAAAKRW5hYmxlQnVybgkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAABERhdGECAAAACkVuYWJsZUJ1cm4EAAAACW1pbkFtb3VudAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlBAAAAA9leHBpcmF0aW9uU3RhcnQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAREYXRhAgAAAAV2YWx1ZQQAAAANZXhwaXJhdGlvbkVuZAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlAwUAAAAKRW5hYmxlQnVybgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAACGV4Y2hhbmdlBQAAAAckbWF0Y2gwAwMJAAAAAAAAAggIBQAAAAhleGNoYW5nZQAAAAhidXlPcmRlcgAAAAlvcmRlclR5cGUFAAAAA0J1eQkAAAAAAAACCAgFAAAACGV4Y2hhbmdlAAAACXNlbGxPcmRlcgAAAAlvcmRlclR5cGUFAAAAA0J1eQcGBwYEAAAAByRtYXRjaDAFAAAAAnR4B2FJmlg=",
"chainId": 84,
"height": 540418,
"spentComplexity": 0
}
View: original | compacted
Prev: 92YvzhYAvNS9gYNW8a5sC9mSLc2tknoJh5pFpyiUEV7C
Next: 81UqSFiVqsVxCSwSgHqXTgH4zHvaC6E2sJZETaJY9nd8
Diff:
Old | New | | Differences |
---|
8 | 8 | | if (EnableBurn) |
---|
9 | 9 | | then match tx { |
---|
10 | 10 | | case exchange: ExchangeTransaction => |
---|
11 | | - | if ((exchange.buyOrder.orderType == Sell)) |
---|
| 11 | + | if (if ((exchange.buyOrder.orderType == Buy)) |
---|
| 12 | + | then (exchange.sellOrder.orderType == Buy) |
---|
| 13 | + | else false) |
---|
12 | 14 | | then true |
---|
13 | 15 | | else false |
---|
14 | 16 | | case _ => |
---|
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 == Sell)) |
---|
| 11 | + | if (if ((exchange.buyOrder.orderType == Buy)) |
---|
| 12 | + | then (exchange.sellOrder.orderType == Buy) |
---|
| 13 | + | else false) |
---|
12 | 14 | | then true |
---|
13 | 15 | | else false |
---|
14 | 16 | | case _ => |
---|
15 | 17 | | true |
---|
16 | 18 | | } |
---|
17 | 19 | | else match tx { |
---|
18 | 20 | | case _ => |
---|
19 | 21 | | false |
---|
20 | 22 | | } |
---|