tx · 5CqyNbjBoPPZMaUcnL74yYjTUqX5gp6rCJquXLuNxLTm

3Mp2E6DeL9ypq5p2sKXQwxdrxuBqetS94WU:  -1.00000000 Waves

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

{ "type": 15, "id": "5CqyNbjBoPPZMaUcnL74yYjTUqX5gp6rCJquXLuNxLTm", "fee": 100000000, "feeAssetId": null, "timestamp": 1551035718767, "version": 1, "sender": "3Mp2E6DeL9ypq5p2sKXQwxdrxuBqetS94WU", "senderPublicKey": "HugNn9gBihFZqanUzThuNTsVsx4A5EeCm69D8M6MACM2", "proofs": [ "5o2MMRMywLPQQt5DvPjoBbqMsbfbQREhcPbY2GCy7UW9HCjus4YPpPd5E6VTAgWgnnTnTry3aXQf2jtnnMNuKfxH" ], "assetId": "9NAmSQtDVjci4J9vQULKDxKaAd2P93ad8BKjYfveBK1o", "script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAHx4YEAAAACnN0YXJ0UHJpY2UAAAAAAAAAJxAEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAAAoEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAAoAAAAAAAAAADwAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARkYXlzCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAtzdGFydEhlaWdodAUAAAAIaW50ZXJ2YWwDAwMJAABnAAAAAggFAAAAAWUAAAAFcHJpY2UJAABoAAAAAgUAAAAKc3RhcnRQcmljZQkAAGQAAAACAAAAAAAAAAABBQAAAARkYXlzCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAkBAAAACWlzRGVmaW5lZAAAAAEICAUAAAABZQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIJAABnAAAAAgUAAAADZXhwCQAAZQAAAAIICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAKZXhwaXJhdGlvbggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAl0aW1lc3RhbXAHCQAAZwAAAAIFAAAAA2V4cAkAAGUAAAACCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAKZXhwaXJhdGlvbggIBQAAAAFlAAAACGJ1eU9yZGVyAAAACXRpbWVzdGFtcAcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyBAAAAA50cmFkZWRGb3JXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAAC2Ftb3VudEFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAAKcHJpY2VBc3NldAUAAAAOdHJhZGVkRm9yV2F2ZXMGsRVsUA==", "chainId": 84, "height": 509872, "spentComplexity": 0 } View: original | compacted Prev: AKTrzpj7Fn7YM4k3gyg6LG84wkvPXsuWQxuKtzp3bTiv Next: H6Kz2f7QqGdEFY6EJvEX6d23yKPRD6mceFUsHuMPPY6i Diff:
OldNewDifferences
1616 else false
1717 case tx: MassTransferTransaction|TransferTransaction|BurnTransaction =>
1818 true
19+ case e: ExchangeTransaction =>
20+ let pair = e.buyOrder.assetPair
21+ let tradedForWaves = if (!(isDefined(pair.amountAsset)))
22+ then true
23+ else !(isDefined(pair.priceAsset))
24+ tradedForWaves
1925 case _ =>
2026 true
2127 }
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))
1212 else isDefined(e.buyOrder.assetPair))
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
19+ case e: ExchangeTransaction =>
20+ let pair = e.buyOrder.assetPair
21+ let tradedForWaves = if (!(isDefined(pair.amountAsset)))
22+ then true
23+ else !(isDefined(pair.priceAsset))
24+ tradedForWaves
1925 case _ =>
2026 true
2127 }

github/deemru/w8io/026f985 
21.55 ms