tx · 9tkKZsbqpaZgLDteYPU419DfAka3e6uCqPWyw3VVkUCD
3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69: -1.00000000 Waves
2019.11.10 19:03 [759126] smart asset 3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69 > SELF 0.00000000 Succ4
{
"type": 15,
"id": "9tkKZsbqpaZgLDteYPU419DfAka3e6uCqPWyw3VVkUCD",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1573401809542,
"version": 1,
"sender": "3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69",
"senderPublicKey": "3rNNnUyeyDagJYytTzfrioavHeoRhjEquJrHQGsPDqbr",
"proofs": [
"2wK5ZY58nBMwwoPA2rhAs69kvbZrKWxypXYRmfWbM3wWadqdM53JLTAa4B5c1kvsVKkjGmNRkqeX37iRxevm6Erk"
],
"assetId": "7yHyBvhvDbEhxtA9rGh12eh9XVPedqiHRypquy7JbB1X",
"script": "base64:AwQAAAALc3RhcnRIZWlnaHQAAAAAAAALlS4EAAAABVVTRElkAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QQAAAAKc3RhcnRQcmljZQAAAAAABfXhAAQAAAAIaW50ZXJ2YWwJAABoAAAAAgAAAAAAAAAiPgAAAAAAAAAAPAQAAAADZXhwCQAAaAAAAAIJAABoAAAAAgAAAAAAAACjIAAAAAAAAAAAPAAAAAAAAAAD6AQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABXllYXJzCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAtzdGFydEhlaWdodAUAAAAIaW50ZXJ2YWwDAwkAAGcAAAACCAUAAAABZQAAAAVwcmljZQkAAGgAAAACBQAAAApzdGFydFByaWNlCQAAZAAAAAIAAAAAAAAAAAEFAAAABXllYXJzCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAVVU0RJZAcJAABnAAAAAggFAAAAAWUAAAAGYW1vdW50AAAAAAAF9eEABwZcqY8D",
"chainId": 84,
"height": 759126,
"spentComplexity": 0
}
View: original | compacted
Prev: 37XZmRuRHgpFRHS3vv7E9dYdQS8DLmAgPrmRtKcgWSPk
Next: none
Diff:
Old | New | | Differences |
---|
9 | 9 | | case e: ExchangeTransaction => |
---|
10 | 10 | | let years = ((height - startHeight) / interval) |
---|
11 | 11 | | if (if ((e.price >= (startPrice * (1 + years)))) |
---|
12 | | - | then !(isDefined((e.sellOrder.assetPair.priceAsset == USDId))) |
---|
| 12 | + | then (e.sellOrder.assetPair.priceAsset == USDId) |
---|
13 | 13 | | else false) |
---|
14 | 14 | | then (e.amount >= 100000000) |
---|
15 | 15 | | else false |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let startHeight = 759086 |
---|
4 | 4 | | let USDId = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck' |
---|
5 | 5 | | let startPrice = 100000000 |
---|
6 | 6 | | let interval = (8766 * 60) |
---|
7 | 7 | | let exp = ((41760 * 60) * 1000) |
---|
8 | 8 | | match tx { |
---|
9 | 9 | | case e: ExchangeTransaction => |
---|
10 | 10 | | let years = ((height - startHeight) / interval) |
---|
11 | 11 | | if (if ((e.price >= (startPrice * (1 + years)))) |
---|
12 | | - | then !(isDefined((e.sellOrder.assetPair.priceAsset == USDId))) |
---|
| 12 | + | then (e.sellOrder.assetPair.priceAsset == USDId) |
---|
13 | 13 | | else false) |
---|
14 | 14 | | then (e.amount >= 100000000) |
---|
15 | 15 | | else false |
---|
16 | 16 | | case _ => |
---|
17 | 17 | | true |
---|
18 | 18 | | } |
---|