tx · 53y5bcuXAUzKTrxvmYh23JS1rP2Fe8z2rui7D9Yu2Efa
3N2Hc2anzwUbrEVoUt5nPErtjQtbErnncKi: -1.00400000 Waves
2019.07.25 20:15 [601856] smart asset 3N2Hc2anzwUbrEVoUt5nPErtjQtbErnncKi > SELF 0 eeeeee
{
"type": 15,
"id": "53y5bcuXAUzKTrxvmYh23JS1rP2Fe8z2rui7D9Yu2Efa",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564074834742,
"version": 1,
"sender": "3N2Hc2anzwUbrEVoUt5nPErtjQtbErnncKi",
"senderPublicKey": "C74H6ppf3Y6annzGq3p8mXFQEBaNNYwWfDkZyyGkw4LP",
"proofs": [
"5UhpKsMtLJKuzYCzdoiFU76Hv2tX7ZUUGtfS9tYETmdjQfp9ShVTNJ6DS9hmxNWtj6wu4PHYmMa6PhM5rJuGrg41"
],
"assetId": "CGHJQnv66fZoscUMeFWetc59ePhExAGw6KS9meBQmVUR",
"script": "base64:AgQAAAAKc3RhcnRQcmljZQAAAAAAAAAACgQAAAALc3RhcnRIZWlnaHQAAAAAAAAAA+gEAAAACGludGVydmFsAAAAAAAAAAACBAAAAAVyYWlzZQAAAAAAAAAABQQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAFlAAAABXByaWNlCQAAZAAAAAIFAAAACnN0YXJ0UHJpY2UJAABpAAAAAgkAAGgAAAACCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAtzdGFydEhlaWdodAUAAAAIaW50ZXJ2YWwJAABkAAAAAgAAAAAAAAAAZAUAAAAFcmFpc2UAAAAAAAAAAGQJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0Bwb+ZTZN",
"chainId": 84,
"height": 601856,
"spentComplexity": 0
}
View: original | compacted
Prev: 3T9dp591WhNFsGAqwGt8zumXgiNfZbUQCn2AZp2qgmTt
Next: DNJ2jxCHQtNsvFMC1ub2soVhBPGaE3uVSG5Aeb4wfRn
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let startPrice = 10 |
---|
| 4 | + | let startHeight = 1000 |
---|
| 5 | + | let interval = 2 |
---|
| 6 | + | let raise = 5 |
---|
3 | 7 | | match tx { |
---|
4 | | - | case o: Order => |
---|
5 | | - | if (if (if ((o.price >= (height / 100000000))) |
---|
6 | | - | then false |
---|
7 | | - | else false) |
---|
8 | | - | then (86400000 >= (o.expiration - o.timestamp)) |
---|
9 | | - | else false) |
---|
10 | | - | then sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey) |
---|
| 8 | + | case t: MassTransferTransaction|TransferTransaction => |
---|
| 9 | + | false |
---|
| 10 | + | case e: ExchangeTransaction => |
---|
| 11 | + | if ((e.price == (startPrice + ((((height - startHeight) / interval) * (100 + raise)) / 100)))) |
---|
| 12 | + | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
11 | 13 | | else false |
---|
12 | | - | case t: TransferTransaction => |
---|
13 | | - | false |
---|
14 | 14 | | case _ => |
---|
15 | 15 | | true |
---|
16 | 16 | | } |
---|