tx · GiwKGRATBTaa7CaQ8orAsVG5q48irLDGvQR9XBRvLZAD
3MwPB7jCHC2PoaKrtBPeQvYaJzvJnznjVd1: -1.00000000 Waves
2019.02.12 13:43 [491825] smart asset 3MwPB7jCHC2PoaKrtBPeQvYaJzvJnznjVd1 > SELF 0.00000000 rutr
{
"type": 15,
"id": "GiwKGRATBTaa7CaQ8orAsVG5q48irLDGvQR9XBRvLZAD",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1549968286100,
"version": 1,
"sender": "3MwPB7jCHC2PoaKrtBPeQvYaJzvJnznjVd1",
"senderPublicKey": "HbvPjC977rt7i1W7xrk1CU4mAJKsfK8NLdQK7oyJchR2",
"proofs": [
"r7tGbgxhHaxZywNPE3wbzCaCSctgJYGtZGYSH6mxUxcXqWuPLnj9CP41s9oNvL3E5e6MhvXW5AYftdm5NdSucoz"
],
"assetId": "D9XCnSiWsRiziAMU1qSvxb8gCGGYFYyFZWwbZwTno2jv",
"script": "base64:AQQAAAALc3RhcnRIZWlnaHQAAAAAAAAVQUIEAAAACnN0YXJ0UHJpY2UAAAAAAAX14QAEAAAACGludGVydmFsAAAAAAAAAAACBAAAAANleHAJAABoAAAAAgkAAGgAAAACAAAAAAAAAAAFAAAAAAAAAAA8AAAAAAAAAAPoBAAAAARleHBiCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAAZAAAAAAAAAAAPAAAAAAAAAAD6AQAAAABcAkAAGkAAAACAAAAAAAAAABxAAAAAAAAAABkBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAEZGF5cwAAAAAAAAAAZAMDAwkAAGcAAAACCAUAAAABZQAAAAVwcmljZQkAAGgAAAACBQAAAApzdGFydFByaWNlBQAAAARkYXlzCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAcJAABnAAAAAgUAAAAEZXhwYgkAAGUAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACmV4cGlyYXRpb24ICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJdGltZXN0YW1wBwkAAGcAAAACBQAAAANleHAJAABlAAAAAggIBQAAAAFlAAAACGJ1eU9yZGVyAAAACmV4cGlyYXRpb24ICAUAAAABZQAAAAhidXlPcmRlcgAAAAl0aW1lc3RhbXAHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgbbsYVN",
"chainId": 84,
"height": 491825,
"spentComplexity": 0
}
View: original | compacted
Prev: b127qeVadw3huMxwWDaZ7m5ozQuBiUaKDJALHpsDPeP
Next: GvYriWHeq1EyqP59VUQ3pXkBRQvRGEKF3DQho1tA1dEv
Diff:
Old | New | | Differences |
---|
8 | 8 | | let p = (113 / 100) |
---|
9 | 9 | | match tx { |
---|
10 | 10 | | case e: ExchangeTransaction => |
---|
11 | | - | let days = ((height - startHeight) / interval) |
---|
| 11 | + | let days = 100 |
---|
12 | 12 | | if (if (if ((e.price >= (startPrice * days))) |
---|
13 | 13 | | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
14 | 14 | | else false) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let startHeight = 1392962 |
---|
4 | 4 | | let startPrice = 100000000 |
---|
5 | 5 | | let interval = 2 |
---|
6 | 6 | | let exp = ((5 * 60) * 1000) |
---|
7 | 7 | | let expb = ((100 * 60) * 1000) |
---|
8 | 8 | | let p = (113 / 100) |
---|
9 | 9 | | match tx { |
---|
10 | 10 | | case e: ExchangeTransaction => |
---|
11 | | - | let days = ((height - startHeight) / interval) |
---|
| 11 | + | let days = 100 |
---|
12 | 12 | | if (if (if ((e.price >= (startPrice * days))) |
---|
13 | 13 | | then !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
14 | 14 | | else false) |
---|
15 | 15 | | then (expb >= (e.sellOrder.expiration - e.sellOrder.timestamp)) |
---|
16 | 16 | | else false) |
---|
17 | 17 | | then (exp >= (e.buyOrder.expiration - e.buyOrder.timestamp)) |
---|
18 | 18 | | else false |
---|
19 | 19 | | case tx: BurnTransaction => |
---|
20 | 20 | | true |
---|
21 | 21 | | case _ => |
---|
22 | 22 | | true |
---|
23 | 23 | | } |
---|