tx · HBmRCSzaXoJnXAFw5qog6hcL42G4LKNMCBavs1F9xHtX
3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9: -1.00000000 Waves
2019.03.16 20:13 [539013] smart asset 3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9 > SELF 0.000 Asset2
{
"type": 15,
"id": "HBmRCSzaXoJnXAFw5qog6hcL42G4LKNMCBavs1F9xHtX",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552756436544,
"version": 1,
"sender": "3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9",
"senderPublicKey": "3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf",
"proofs": [
"D33HsKC4JKxvYmaJVL93d38WfqYDNTebL7AHRbjTNVgPQHt4nw1ARQZs4zwPL4Av5vQ6JLFazNt7Vij8zWoEgZ5"
],
"assetId": "45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZapAUIhSRM8CoTJe+vvUwnwafg3oXtEgQAAAAKRW5hYmxlQnVybgkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAABERhdGECAAAACkVuYWJsZUJ1cm4EAAAACW1pbkFtb3VudAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlBAAAAAR0aGlzCQEAAAAHZXh0cmFjdAAAAAEIBQAAAAJ0eAAAAAZzZW5kZXIEAAAABXRva2VuAQAAACAtq+XMrTbIFH92Uw7ubmp6X2wYPdJTX5iQC+mCRR2fngQAAAACY2MAAAAAAAAAAAMDBQAAAApFbmFibGVCdXJuBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAAIRXhjaGFuZ2UFAAAAByRtYXRjaDADCQAAZgAAAAIAAAAAAAAAAAUFAAAAAmNjBwYGBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAAIdHJhbnNmZXIFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAhFeGNoYW5nZQUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAAEYnVybgUAAAAHJG1hdGNoMAYGPKregA==",
"chainId": 84,
"height": 539013,
"spentComplexity": 0
}
View: original | compacted
Prev: Dv1jDuXuvNBwe8BFPyigieiudyNRmgvk51k2tZTxrns7
Next: B4E17uM4hE13UNGL4kmbN8jSDvYQUDbfVDVhLRoiwpJY
Diff:
Old | New | | Differences |
---|
5 | 5 | | let minAmount = extract(getInteger(Data, "value")) |
---|
6 | 6 | | let this = extract(tx.sender) |
---|
7 | 7 | | let token = base58'45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3' |
---|
| 8 | + | let cc = 3 |
---|
8 | 9 | | if (EnableBurn) |
---|
9 | 10 | | then match tx { |
---|
10 | | - | case transfer: TransferTransaction => |
---|
| 11 | + | case Exchange: ExchangeTransaction => |
---|
| 12 | + | if ((5 > cc)) |
---|
| 13 | + | then false |
---|
| 14 | + | else true |
---|
| 15 | + | case _ => |
---|
11 | 16 | | true |
---|
12 | | - | case Exchange: ExchangeTransaction => |
---|
13 | | - | (5 > Exchange.sellOrder.amount) |
---|
14 | | - | case _ => |
---|
15 | | - | false |
---|
16 | 17 | | } |
---|
17 | 18 | | else match tx { |
---|
18 | 19 | | case transfer: TransferTransaction => |
---|
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 this = extract(tx.sender) |
---|
7 | 7 | | let token = base58'45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3' |
---|
| 8 | + | let cc = 3 |
---|
8 | 9 | | if (EnableBurn) |
---|
9 | 10 | | then match tx { |
---|
10 | | - | case transfer: TransferTransaction => |
---|
| 11 | + | case Exchange: ExchangeTransaction => |
---|
| 12 | + | if ((5 > cc)) |
---|
| 13 | + | then false |
---|
| 14 | + | else true |
---|
| 15 | + | case _ => |
---|
11 | 16 | | true |
---|
12 | | - | case Exchange: ExchangeTransaction => |
---|
13 | | - | (5 > Exchange.sellOrder.amount) |
---|
14 | | - | case _ => |
---|
15 | | - | false |
---|
16 | 17 | | } |
---|
17 | 18 | | else match tx { |
---|
18 | 19 | | case transfer: TransferTransaction => |
---|
19 | 20 | | true |
---|
20 | 21 | | case Exchange: ExchangeTransaction => |
---|
21 | 22 | | true |
---|
22 | 23 | | case burn: BurnTransaction => |
---|
23 | 24 | | true |
---|
24 | 25 | | case _ => |
---|
25 | 26 | | true |
---|
26 | 27 | | } |
---|