tx · 6V5dadDm4R5Zentc3JPgVJDrUbA1AwR7G3TGTvuUG1tu
3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9: -1.00000000 Waves
2019.03.16 20:36 [539035] smart asset 3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9 > SELF 0.000 Asset2
{
"type": 15,
"id": "6V5dadDm4R5Zentc3JPgVJDrUbA1AwR7G3TGTvuUG1tu",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552757815311,
"version": 1,
"sender": "3MsQt334vrC8FeNLzusm8XXky1Y6odcNBS9",
"senderPublicKey": "3xEmrEg13dR6thnyGsjUiawYNSpv7Zv2iFi4KYxA8ngf",
"proofs": [
"377d59FNHmCpzu4rzgmdRWd5cA45jqyk16HVqdm2esEwW9BUR59gpm9kmpiAMnGicCvQtDFwMeVEG5CfDrvk6c8k"
],
"assetId": "45HNfeJAbioJpmBt6aFvQCf78KPvvhnW6gKXrSh38gd3",
"script": "base64:AgQAAAAERGF0YQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVCZapAUIhSRM8CoTJe+vvUwnwafg3oXtEgQAAAAKRW5hYmxlQnVybgkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAABERhdGECAAAACkVuYWJsZUJ1cm4EAAAACW1pbkFtb3VudAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABERhdGECAAAABXZhbHVlBAAAAAR0aGlzCQEAAAAHZXh0cmFjdAAAAAEIBQAAAAJ0eAAAAAZzZW5kZXIDBQAAAApFbmFibGVCdXJuBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAAIRXhjaGFuZ2UFAAAAByRtYXRjaDADBAAAAAZhbW91bnQIBQAAAAhFeGNoYW5nZQAAAAVwcmljZQkAAGYAAAACBQAAAAZhbW91bnQAAAAAAAAAAAUHBgYEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAh0cmFuc2ZlcgUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAACEV4Y2hhbmdlBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAARidXJuBQAAAAckbWF0Y2gwBgYv+v8c",
"chainId": 84,
"height": 539035,
"spentComplexity": 0
}
View: original | compacted
Prev: 85Qr7iZwMw9tp8DX9womvkT1asJ6921Z4ub8ELP1vjLX
Next: FLaPuSYHke5kTaEUSVVsnxDNkBUVtxUaokd4hkKijEvy
Diff:
Old | New | | Differences |
---|
7 | 7 | | if (EnableBurn) |
---|
8 | 8 | | then match tx { |
---|
9 | 9 | | case Exchange: ExchangeTransaction => |
---|
10 | | - | if ((Exchange.price > 5)) |
---|
| 10 | + | if ({ |
---|
| 11 | + | let amount = Exchange.price |
---|
| 12 | + | (amount > 5) |
---|
| 13 | + | }) |
---|
11 | 14 | | then false |
---|
12 | 15 | | else true |
---|
13 | 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 this = extract(tx.sender) |
---|
7 | 7 | | if (EnableBurn) |
---|
8 | 8 | | then match tx { |
---|
9 | 9 | | case Exchange: ExchangeTransaction => |
---|
10 | | - | if ((Exchange.price > 5)) |
---|
| 10 | + | if ({ |
---|
| 11 | + | let amount = Exchange.price |
---|
| 12 | + | (amount > 5) |
---|
| 13 | + | }) |
---|
11 | 14 | | then false |
---|
12 | 15 | | else true |
---|
13 | 16 | | case _ => |
---|
14 | 17 | | true |
---|
15 | 18 | | } |
---|
16 | 19 | | else match tx { |
---|
17 | 20 | | case transfer: TransferTransaction => |
---|
18 | 21 | | true |
---|
19 | 22 | | case Exchange: ExchangeTransaction => |
---|
20 | 23 | | true |
---|
21 | 24 | | case burn: BurnTransaction => |
---|
22 | 25 | | true |
---|
23 | 26 | | case _ => |
---|
24 | 27 | | true |
---|
25 | 28 | | } |
---|