tx · HmEAskDtBX2ZPjB9fZbbdy1eXAQamZQfjfUYgfD4oAvc
3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69: -1.00000000 Waves
2019.11.03 07:23 [748224] smart asset 3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69 > SELF 0 SucVo1
{
"type": 15,
"id": "HmEAskDtBX2ZPjB9fZbbdy1eXAQamZQfjfUYgfD4oAvc",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1572755059070,
"version": 1,
"sender": "3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69",
"senderPublicKey": "3rNNnUyeyDagJYytTzfrioavHeoRhjEquJrHQGsPDqbr",
"proofs": [
"bAn45QnhsYs6XpDJmX2Y12f2KJ84Hm3jQmUkH6j9EdbEXogMSdau1UNAqMDoy1gMd4P4A6c32qhH7NX2k7Q1HXA"
],
"assetId": "6135ijx8Nv2EzqQWQ9V13BqFWpovhxxjkSzurcy3eqco",
"script": "base64:AgQAAAAKZXhwaXJhdGlvbgAAAAFpXj9KgAQAAAAFcHJpY2UAAAAAAAAAAAEEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyBAAAAA50cmFkZWRGb3JXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAAC2Ftb3VudEFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAAKcHJpY2VBc3NldAMFAAAADnRyYWRlZEZvcldhdmVzCQAAAAAAAAIIBQAAAAFlAAAABXByaWNlBQAAAAVwcmljZQcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAABYgUAAAAHJG1hdGNoMAkAAGYAAAACCAUAAAABYgAAAAl0aW1lc3RhbXAFAAAACmV4cGlyYXRpb24DAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYGJLdk4g==",
"chainId": 84,
"height": 748224,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: F5kXf3mJQsXk7VcjhNvB1a2fdFUVQCfMxb61XgK7Yc8F
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let expiration = 1552064400000 |
---|
| 4 | + | let price = 1 |
---|
| 5 | + | match tx { |
---|
| 6 | + | case e: ExchangeTransaction => |
---|
| 7 | + | let pair = e.buyOrder.assetPair |
---|
| 8 | + | let tradedForWaves = if (!(isDefined(pair.amountAsset))) |
---|
| 9 | + | then true |
---|
| 10 | + | else !(isDefined(pair.priceAsset)) |
---|
| 11 | + | if (tradedForWaves) |
---|
| 12 | + | then (e.price == price) |
---|
| 13 | + | else false |
---|
| 14 | + | case b: BurnTransaction => |
---|
| 15 | + | (b.timestamp > expiration) |
---|
| 16 | + | case _: MassTransferTransaction|TransferTransaction => |
---|
| 17 | + | true |
---|
| 18 | + | case _ => |
---|
| 19 | + | true |
---|
| 20 | + | } |
---|