tx · 3rCbLurM8yJgGi1UhjFMWoXDV7mQ4xhTME3JBCThe49v
3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9: -1.00000000 Waves
2019.03.17 17:58 [540345] smart asset 3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9 > SELF 0.000 Asset2
{
"type": 15,
"id": "3rCbLurM8yJgGi1UhjFMWoXDV7mQ4xhTME3JBCThe49v",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552834711128,
"version": 1,
"sender": "3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9",
"senderPublicKey": "3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf",
"proofs": [
"2N2w9E24A3SftnZw7VxnTKJaLmx4RFzzmvy4YKRr4vJKjT77xVSxU2cWRi236ViTxJs74Veh53EmsCoTxonQwM8W"
],
"assetId": "45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZapAUIhSRM8CoTJe+vvUwnwafg3oXtEgQAAAAKRW5hYmxlQnVybgkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAABERhdGECAAAACkVuYWJsZUJ1cm4EAAAACW1pbkFtb3VudAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlBAAAAA9leHBpcmF0aW9uU3RhcnQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAREYXRhAgAAAAV2YWx1ZQQAAAANZXhwaXJhdGlvbkVuZAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlAwUAAAAKRW5hYmxlQnVybgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAACEV4Y2hhbmdlBQAAAAckbWF0Y2gwAwMJAABnAAAAAgUAAAAJbWluQW1vdW50CAgFAAAACEV4Y2hhbmdlAAAACXNlbGxPcmRlcgAAAAZhbW91bnQJAABnAAAAAggIBQAAAAhFeGNoYW5nZQAAAAhidXlPcmRlcgAAAAZhbW91bnQAAAAAAAAAAAAHBwYGBAAAAAckbWF0Y2gwBQAAAAJ0eAcfNFvq",
"chainId": 84,
"height": 540345,
"spentComplexity": 0
}
View: original | compacted
Prev: GV3BJ8dGRjGonzqgEwd5XedKwiK4jucC5hbFGaXbzfFX
Next: D2ksEL9dZpGBZAdxLQbjb2F12Woo2KGG3teGFN9ipHq3
Diff:
Old | New | | Differences |
---|
8 | 8 | | if (EnableBurn) |
---|
9 | 9 | | then match tx { |
---|
10 | 10 | | case Exchange: ExchangeTransaction => |
---|
11 | | - | if ((minAmount >= Exchange.sellOrder.amount)) |
---|
| 11 | + | if (if ((minAmount >= Exchange.sellOrder.amount)) |
---|
| 12 | + | then (Exchange.buyOrder.amount >= 0) |
---|
| 13 | + | else false) |
---|
12 | 14 | | then false |
---|
13 | 15 | | else true |
---|
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 ((minAmount >= Exchange.sellOrder.amount)) |
---|
| 11 | + | if (if ((minAmount >= Exchange.sellOrder.amount)) |
---|
| 12 | + | then (Exchange.buyOrder.amount >= 0) |
---|
| 13 | + | else false) |
---|
12 | 14 | | then false |
---|
13 | 15 | | else true |
---|
14 | 16 | | case _ => |
---|
15 | 17 | | true |
---|
16 | 18 | | } |
---|
17 | 19 | | else match tx { |
---|
18 | 20 | | case _ => |
---|
19 | 21 | | false |
---|
20 | 22 | | } |
---|