tx · 5PzjWL4bE865x1a2M4tL1WuDeFex2Uz9VJcCDsQXpfUX
3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9: -1.00000000 Waves
2019.03.18 10:51 [541405] smart asset 3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9 > SELF 0.000 Asset2
{
"type": 15,
"id": "5PzjWL4bE865x1a2M4tL1WuDeFex2Uz9VJcCDsQXpfUX",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552895503757,
"version": 1,
"sender": "3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9",
"senderPublicKey": "3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf",
"proofs": [
"4oemJgTyvYVUugdGM2vj17o3EQ4w9WWkHTVLMgWet34yy149Qz8KN2QBZpGHx47mmn3SC6NjQnzWoYnWaPhZrTdE"
],
"assetId": "45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZapAUIhSRM8CoTJe+vvUwnwafg3oXtEgQAAAAKRW5hYmxlQnVybgkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAABERhdGECAAAACkVuYWJsZUJ1cm4EAAAACW1pbkFtb3VudAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlBAAAAA9leHBpcmF0aW9uU3RhcnQJAAQaAAAAAgUAAAAERGF0YQIAAAAFdmFsdWUEAAAADWV4cGlyYXRpb25FbmQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAREYXRhAgAAAAV2YWx1ZQMFAAAACkVuYWJsZUJ1cm4EAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAhleGNoYW5nZQUAAAAHJG1hdGNoMAQAAAAEc2VsbAkAAfQAAAADCAgFAAAACGV4Y2hhbmdlAAAACXNlbGxPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAhleGNoYW5nZQAAAAlzZWxsT3JkZXIAAAAGcHJvb2ZzAAAAAAAAAAAACAgFAAAACGV4Y2hhbmdlAAAACXNlbGxPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkDBQAAAARzZWxsAwkAAGYAAAACBQAAAAltaW5BbW91bnQIBQAAAAhleGNoYW5nZQAAAAZhbW91bnQHBgYGBAAAAAckbWF0Y2gwBQAAAAJ0eAd2S5Ed",
"chainId": 84,
"height": 541405,
"spentComplexity": 0
}
View: original | compacted
Prev: HTyAVeRb9gAA9JM2JJy5gMy24LBW69zzgQruYqZUnacv
Next: 2EyKhKHQsyro4JZKNv5KuEzzQXbfHRGNwRuheFBCmGVi
Diff:
Old | New | | Differences |
---|
10 | 10 | | case exchange: ExchangeTransaction => |
---|
11 | 11 | | let sell = sigVerify(exchange.sellOrder.bodyBytes, exchange.sellOrder.proofs[0], exchange.sellOrder.senderPublicKey) |
---|
12 | 12 | | if (sell) |
---|
13 | | - | then false |
---|
| 13 | + | then if ((minAmount > exchange.amount)) |
---|
| 14 | + | then false |
---|
| 15 | + | else true |
---|
14 | 16 | | else true |
---|
15 | 17 | | case _ => |
---|
16 | 18 | | true |
---|
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 = 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 | 11 | | let sell = sigVerify(exchange.sellOrder.bodyBytes, exchange.sellOrder.proofs[0], exchange.sellOrder.senderPublicKey) |
---|
12 | 12 | | if (sell) |
---|
13 | | - | then false |
---|
| 13 | + | then if ((minAmount > exchange.amount)) |
---|
| 14 | + | then false |
---|
| 15 | + | else true |
---|
14 | 16 | | else true |
---|
15 | 17 | | case _ => |
---|
16 | 18 | | true |
---|
17 | 19 | | } |
---|
18 | 20 | | else match tx { |
---|
19 | 21 | | case _ => |
---|
20 | 22 | | false |
---|
21 | 23 | | } |
---|