tx · H6Kz2f7QqGdEFY6EJvEX6d23yKPRD6mceFUsHuMPPY6i

3Mp2E6DeL9ypq5p2sKXQwxdrxuBqetS94WU:  -1.00000000 Waves

2019.02.24 22:15 [509873] smart asset 3Mp2E6DeL9ypq5p2sKXQwxdrxuBqetS94WU > SELF 0.00000000 AAAAA

{ "type": 15, "id": "H6Kz2f7QqGdEFY6EJvEX6d23yKPRD6mceFUsHuMPPY6i", "fee": 100000000, "feeAssetId": null, "timestamp": 1551035800252, "version": 1, "sender": "3Mp2E6DeL9ypq5p2sKXQwxdrxuBqetS94WU", "senderPublicKey": "HugNn9gBihFZqanUzThuNTsVsx4A5EeCm69D8M6MACM2", "proofs": [ "5kULBbYGjg3kivKp2nyF1MJ2ukMXfbnxCgpDucNDmGPSGYmUM46HFe7Yubxka3jg9JFvLZKgZGX7aeRV8qP1Dy7d" ], "assetId": "9NAmSQtDVjci4J9vQULKDxKaAd2P93ad8BKjYfveBK1o", "script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAHx4YEAAAACnN0YXJ0UHJpY2UAAAAAAAAAJxAEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAAAoEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAAoAAAAAAAAAADwAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARkYXlzCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAtzdGFydEhlaWdodAUAAAAIaW50ZXJ2YWwDAwMJAABnAAAAAggFAAAAAWUAAAAFcHJpY2UJAABoAAAAAgUAAAAKc3RhcnRQcmljZQkAAGQAAAACAAAAAAAAAAABBQAAAARkYXlzCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAcJAABnAAAAAgUAAAADZXhwCQAAZQAAAAIICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAKZXhwaXJhdGlvbggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAl0aW1lc3RhbXAHCQAAZwAAAAIFAAAAA2V4cAkAAGUAAAACCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAKZXhwaXJhdGlvbggIBQAAAAFlAAAACGJ1eU9yZGVyAAAACXRpbWVzdGFtcAcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyBAAAAA50cmFkZWRGb3JXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAAC2Ftb3VudEFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAAKcHJpY2VBc3NldAUAAAAOdHJhZGVkRm9yV2F2ZXMGfvJ2+Q==", "chainId": 84, "height": 509873, "spentComplexity": 0 } View: original | compacted Prev: 5CqyNbjBoPPZMaUcnL74yYjTUqX5gp6rCJquXLuNxLTm Next: none Diff:
OldNewDifferences
99 let days = ((height - startHeight) / interval)
1010 if (if (if ((e.price >= (startPrice * (1 + days))))
1111 then !(isDefined(e.sellOrder.assetPair.priceAsset))
12- else isDefined(e.buyOrder.assetPair))
12+ else false)
1313 then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))
1414 else false)
1515 then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let startHeight = 509830
44 let startPrice = 10000
55 let interval = (24 * 10)
66 let exp = ((10 * 60) * 1000)
77 match tx {
88 case e: ExchangeTransaction =>
99 let days = ((height - startHeight) / interval)
1010 if (if (if ((e.price >= (startPrice * (1 + days))))
1111 then !(isDefined(e.sellOrder.assetPair.priceAsset))
12- else isDefined(e.buyOrder.assetPair))
12+ else false)
1313 then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))
1414 else false)
1515 then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))
1616 else false
1717 case tx: MassTransferTransaction|TransferTransaction|BurnTransaction =>
1818 true
1919 case e: ExchangeTransaction =>
2020 let pair = e.buyOrder.assetPair
2121 let tradedForWaves = if (!(isDefined(pair.amountAsset)))
2222 then true
2323 else !(isDefined(pair.priceAsset))
2424 tradedForWaves
2525 case _ =>
2626 true
2727 }

github/deemru/w8io/026f985 
17.32 ms