tx · G17yVYt2U42ydnAiWQQuP78BS4cV5Z7Fp4feRngakmXz

3Mp2E6DeL9ypq5p2sKXQwxdrxuBqetS94WU:  -1.00000000 Waves

2019.02.24 21:26 [509817] smart asset 3Mp2E6DeL9ypq5p2sKXQwxdrxuBqetS94WU > SELF 0.00000000 AAAAA

{ "type": 15, "id": "G17yVYt2U42ydnAiWQQuP78BS4cV5Z7Fp4feRngakmXz", "fee": 100000000, "feeAssetId": null, "timestamp": 1551032820635, "version": 1, "sender": "3Mp2E6DeL9ypq5p2sKXQwxdrxuBqetS94WU", "senderPublicKey": "HugNn9gBihFZqanUzThuNTsVsx4A5EeCm69D8M6MACM2", "proofs": [ "3XBboCW5uR7cbL3Yc39q3k6w8s9vMQLmZGDW2AefaMbHS5G3CRxLDY1CPqzj5ZXi9L8gBK2D6Rq6Eue685xMKEtp" ], "assetId": "6xzMzG2yztvdaNWArqkHBoAEADVv3DoW5Jyvkkt7PMa4", "script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAHx4YEAAAACnN0YXJ0UHJpY2UAAAAAAAAAJxAEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAADwEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAADwAAAAAAAAAADwAAAAAAAAAAAoEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARkYXlzCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAtzdGFydEhlaWdodAUAAAAIaW50ZXJ2YWwDAwMJAABnAAAAAggFAAAAAWUAAAAFcHJpY2UJAABoAAAAAgUAAAAKc3RhcnRQcmljZQkAAGQAAAACAAAAAAAAAAABBQAAAARkYXlzCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAQAAAAIbWluUHJpY2UJAABoAAAAAgUAAAAKc3RhcnRQcmljZQkAAGQAAAACAAAAAAAAAAABBQAAAARkYXlzCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAACcgCiA+Pj4gQ3VycmVudCBwdXJjaGFzZSAvIHNhbGUgcHJpY2UgPSAJAAGkAAAAAQUAAAAIbWluUHJpY2UCAAAACSBzYXRvc2hpLgIAAAA/IAogPj4+INCi0LXQutGD0YnQsNGPINGG0LXQvdCwINC/0L7QutGD0L/QutC4L9C/0YDQvtC00LDQttC4ID0gCQABpAAAAAEFAAAACG1pblByaWNlAgAAAA4g0YHQsNGC0L7RiNC4LgkAAGcAAAACBQAAAANleHAJAABlAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAApleHBpcmF0aW9uCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACXRpbWVzdGFtcAcJAABnAAAAAgUAAAADZXhwCQAAZQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAApleHBpcmF0aW9uCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJdGltZXN0YW1wBwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYGaLpy+g==", "chainId": 84, "height": 509817, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 1 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let startHeight = 509830
4+let startPrice = 10000
5+let interval = (24 * 60)
6+let exp = ((60 * 60) * 10)
7+match tx {
8+ case e: ExchangeTransaction =>
9+ let days = ((height - startHeight) / interval)
10+ if (if (if ((e.price >= (startPrice * (1 + days))))
11+ then !(isDefined(e.sellOrder.assetPair.priceAsset))
12+ else {
13+ let minPrice = (startPrice * (1 + days))
14+ throw(((((("
15+ >>> Current purchase / sale price = " + toString(minPrice)) + " satoshi.") + "
16+ >>> Текущая цена покупки/продажи = ") + toString(minPrice)) + " сатоши."))
17+ })
18+ then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp))
19+ else false)
20+ then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp))
21+ else false
22+ case tx: MassTransferTransaction|TransferTransaction|BurnTransaction =>
23+ true
24+ case _ =>
25+ true
26+}

github/deemru/w8io/026f985 
13.70 ms