tx · 8oyYE3rn4t4jX1SosQJ4GEQ1rvaXTW1q2vP788i82xDP
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.09 08:22 [487136] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 Reinsttest
{
"type": 15,
"id": "8oyYE3rn4t4jX1SosQJ4GEQ1rvaXTW1q2vP788i82xDP",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1549689752277,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"4aaMGKjej2CSuVmD4TcTAk2HinoSJax6MtsCBzayJacu6uV3nj6PhPuLm1MSompAvHkoLfyWy8ozw2sjAJKuf2hY"
],
"assetId": "AheVYs92QFfRDTYqu92N9vnJfwYRPeUKBnFiTedBGrLN",
"script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAU/UUEAAAACnN0YXJ0UHJpY2UAAAAAAAABhqAEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAABgAAAAAAAAAADwEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAADwAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARkYXlzCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAtzdGFydEhlaWdodAUAAAAIaW50ZXJ2YWwDAwMJAABnAAAAAggFAAAAAWUAAAAFcHJpY2UJAABoAAAAAgUAAAAKc3RhcnRQcmljZQkAAGQAAAACAAAAAAAAAAABCQAAaAAAAAIFAAAABGRheXMFAAAABGRheXMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BwkAAGcAAAACBQAAAANleHAJAABlAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAApleHBpcmF0aW9uCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACXRpbWVzdGFtcAcJAABnAAAAAgUAAAADZXhwCQAAZQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAApleHBpcmF0aW9uCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJdGltZXN0YW1wBwMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB9CrDWk=",
"chainId": 84,
"height": 487136,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 58W7qNGBy8BvyfBWrAPkfwCkd6AD8A3SQ3WrnH1NDx1F
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let startHeight = 1375557 |
---|
| 4 | + | let startPrice = 100000 |
---|
| 5 | + | let interval = (24 * 60) |
---|
| 6 | + | let exp = ((100 * 60) * 1000) |
---|
| 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 | + | case tx: SetAssetScriptTransaction|BurnTransaction => |
---|
| 18 | + | true |
---|
| 19 | + | case _ => |
---|
| 20 | + | false |
---|
| 21 | + | } |
---|