tx · CDKo3TbSmpw4cyaP84kwEmXbNBHYwpDQFHTR1hXasgbz
3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9: -1.00000000 Waves
2019.03.17 23:06 [540674] smart asset 3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9 > SELF 0.000 Asset2
{
"type": 15,
"id": "CDKo3TbSmpw4cyaP84kwEmXbNBHYwpDQFHTR1hXasgbz",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552853284838,
"version": 1,
"sender": "3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9",
"senderPublicKey": "3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf",
"proofs": [
"3ccaxwU58aE4CuP5NsFembfgDPpdrTaNYjwLxzYfBzh6EMPVMFUAc1v4X5VpxKDVz4jUNkgvJBsxnBoSKbZv6fGq"
],
"assetId": "45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZapAUIhSRM8CoTJe+vvUwnwafg3oXtEgQAAAAKRW5hYmxlQnVybgkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAABERhdGECAAAACkVuYWJsZUJ1cm4EAAAACW1pbkFtb3VudAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlBAAAAA9leHBpcmF0aW9uU3RhcnQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAREYXRhAgAAAAV2YWx1ZQQAAAANZXhwaXJhdGlvbkVuZAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlAwUAAAAKRW5hYmxlQnVybgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAACGV4Y2hhbmdlBQAAAAckbWF0Y2gwAwkAAAAAAAACCAgFAAAACGV4Y2hhbmdlAAAACGJ1eU9yZGVyAAAACW9yZGVyVHlwZQUAAAADQnV5BgcGBAAAAAckbWF0Y2gwBQAAAAJ0eAZ3aYC0",
"chainId": 84,
"height": 540674,
"spentComplexity": 0
}
View: original | compacted
Prev: A86pJYpzKp662vJjym4V84tAykTeucKAxP9jXg3WAkwK
Next: EVzeoLKXSe1VFr3pVZYxtXbgRHLQLqhyPxY88KokepYF
Diff:
Old | New | | Differences |
---|
7 | 7 | | let expirationEnd = extract(getInteger(Data, "value")) |
---|
8 | 8 | | if (EnableBurn) |
---|
9 | 9 | | then match tx { |
---|
10 | | - | case t: TransferTransaction => |
---|
11 | | - | if ((t.amount == 2000)) |
---|
| 10 | + | case exchange: ExchangeTransaction => |
---|
| 11 | + | if ((exchange.buyOrder.orderType == Buy)) |
---|
12 | 12 | | then true |
---|
13 | 13 | | else false |
---|
14 | | - | case exchange: ExchangeTransaction => |
---|
15 | | - | true |
---|
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 | | - | case t: TransferTransaction => |
---|
11 | | - | if ((t.amount == 2000)) |
---|
| 10 | + | case exchange: ExchangeTransaction => |
---|
| 11 | + | if ((exchange.buyOrder.orderType == Buy)) |
---|
12 | 12 | | then true |
---|
13 | 13 | | else false |
---|
14 | | - | case exchange: ExchangeTransaction => |
---|
15 | | - | true |
---|
16 | 14 | | case _ => |
---|
17 | 15 | | true |
---|
18 | 16 | | } |
---|
19 | 17 | | else match tx { |
---|
20 | 18 | | case _ => |
---|
21 | 19 | | true |
---|
22 | 20 | | } |
---|