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