tx · 7XwWjKYwdkPG3EwTin6J1VVfZuKzX5CBo6xY3t2msoTk
3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69: -1.00000000 Waves
2019.11.03 07:41 [748241] smart asset 3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69 > SELF 0 SucVo1
{
"type": 15,
"id": "7XwWjKYwdkPG3EwTin6J1VVfZuKzX5CBo6xY3t2msoTk",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1572756087226,
"version": 1,
"sender": "3N1BFRQ4bJjPmz4WjsK7HurEUKArWfR7L69",
"senderPublicKey": "3rNNnUyeyDagJYytTzfrioavHeoRhjEquJrHQGsPDqbr",
"proofs": [
"2UFLMQDBKNYg93WvYTRSzwNCe3meoz53Wa5PdPCrvWVN5LWZTV47FkrccBcgyd6RVSE8VwNgkiCci3b4Z2TXBJUV"
],
"assetId": "6135ijx8Nv2EzqQWQ9V13BqFWpovhxxjkSzurcy3eqco",
"script": "base64:AwQAAAALc3RhcnRIZWlnaHQAAAAAAAALas8EAAAAB1dBVkVTSWQBAAAABBOr2TMEAAAACnN0YXJ0UHJpY2UAAAAAAAAAAAEEAAAACGludGVydmFsCQAAaAAAAAIAAAAAAAAAIj4AAAAAAAAAADwEAAAAA2V4cAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAoyAAAAAAAAAAADwAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAAV5ZWFycwkAAGkAAAACCQAAZQAAAAIFAAAABmhlaWdodAUAAAALc3RhcnRIZWlnaHQFAAAACGludGVydmFsAwMJAABnAAAAAggFAAAAAWUAAAAFcHJpY2UJAABoAAAAAgUAAAAKc3RhcnRQcmljZQkAAGQAAAACAAAAAAAAAAABBQAAAAV5ZWFycwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQHCQAAZwAAAAIIBQAAAAFlAAAABmFtb3VudAAAAAAABfXhAAcGZ/jcGA==",
"chainId": 84,
"height": 748241,
"spentComplexity": 0
}
View: original | compacted
Prev: F5kXf3mJQsXk7VcjhNvB1a2fdFUVQCfMxb61XgK7Yc8F
Next: FnWgzdSzZUvsMT4LT5YuLKZJ5yAxHnWQkYGLBr2ut7YF
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 2 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let expiration = 1552064400000 |
---|
4 | | - | let price = 1 |
---|
| 3 | + | let startHeight = 748239 |
---|
| 4 | + | let WAVESId = base58'WAVES' |
---|
| 5 | + | let startPrice = 1 |
---|
| 6 | + | let interval = (8766 * 60) |
---|
| 7 | + | let exp = ((41760 * 60) * 1000) |
---|
5 | 8 | | match tx { |
---|
6 | 9 | | case e: ExchangeTransaction => |
---|
7 | | - | let pair = e.buyOrder.assetPair |
---|
8 | | - | let tradedForWaves = if (!(isDefined(pair.amountAsset))) |
---|
9 | | - | then true |
---|
10 | | - | else !(isDefined(pair.priceAsset)) |
---|
11 | | - | if (tradedForWaves) |
---|
12 | | - | then (e.price == price) |
---|
| 10 | + | let years = ((height - startHeight) / interval) |
---|
| 11 | + | if (if ((e.price >= (startPrice * (1 + years)))) |
---|
| 12 | + | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
| 13 | + | else false) |
---|
| 14 | + | then (e.amount >= 100000000) |
---|
13 | 15 | | else false |
---|
14 | | - | case b: BurnTransaction => |
---|
15 | | - | (b.timestamp > expiration) |
---|
16 | | - | case _: MassTransferTransaction|TransferTransaction => |
---|
17 | | - | true |
---|
18 | 16 | | case _ => |
---|
19 | 17 | | true |
---|
20 | 18 | | } |
---|