tx · 58W7qNGBy8BvyfBWrAPkfwCkd6AD8A3SQ3WrnH1NDx1F
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.09 08:22 [487136] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 Reinsttest
{
"type": 15,
"id": "58W7qNGBy8BvyfBWrAPkfwCkd6AD8A3SQ3WrnH1NDx1F",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1549689794516,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"WdFVyS6UEPs8jWHbaBf5meF82nwAkroZ37umcS8j1jD65aRJJSUzGTEjBNjPb1dm7VvzfygH42HV43woQzBcNme"
],
"assetId": "AheVYs92QFfRDTYqu92N9vnJfwYRPeUKBnFiTedBGrLN",
"script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAU/UUEAAAACnN0YXJ0UHJpY2UAAAAAAAABhqAEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAADwEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAADwAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYHyRjHBQ==",
"chainId": 84,
"height": 487136,
"spentComplexity": 0
}
View: original | compacted
Prev: 8oyYE3rn4t4jX1SosQJ4GEQ1rvaXTW1q2vP788i82xDP
Next: none
Diff:
Old | New | | Differences |
---|
5 | 5 | | let interval = (24 * 60) |
---|
6 | 6 | | let exp = ((100 * 60) * 1000) |
---|
7 | 7 | | match tx { |
---|
8 | | - | case e: ExchangeTransaction => |
---|
9 | | - | let days = ((height - startHeight) / interval) |
---|
10 | | - | if (if (if ((e.price >= (startPrice * (1 + (days * days))))) |
---|
11 | | - | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
12 | | - | else false) |
---|
13 | | - | then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp)) |
---|
14 | | - | else false) |
---|
15 | | - | then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp)) |
---|
16 | | - | else false |
---|
17 | 8 | | case tx: SetAssetScriptTransaction|BurnTransaction => |
---|
18 | 9 | | true |
---|
19 | 10 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let startHeight = 1375557 |
---|
4 | 4 | | let startPrice = 100000 |
---|
5 | 5 | | let interval = (24 * 60) |
---|
6 | 6 | | let exp = ((100 * 60) * 1000) |
---|
7 | 7 | | match tx { |
---|
8 | | - | case e: ExchangeTransaction => |
---|
9 | | - | let days = ((height - startHeight) / interval) |
---|
10 | | - | if (if (if ((e.price >= (startPrice * (1 + (days * days))))) |
---|
11 | | - | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
12 | | - | else false) |
---|
13 | | - | then (exp >= (e.sellOrder.expiration - e.sellOrder.timestamp)) |
---|
14 | | - | else false) |
---|
15 | | - | then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp)) |
---|
16 | | - | else false |
---|
17 | 8 | | case tx: SetAssetScriptTransaction|BurnTransaction => |
---|
18 | 9 | | true |
---|
19 | 10 | | case _ => |
---|
20 | 11 | | false |
---|
21 | 12 | | } |
---|