tx · BpiXwMTQcf2gUrkESEskt8XT6roysbDu9FDR3AXNNi6V
3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf: -1.00000000 Waves
2019.06.26 05:30 [558494] smart asset 3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf > SELF 0.00000000 teste1
{
"type": 15,
"id": "BpiXwMTQcf2gUrkESEskt8XT6roysbDu9FDR3AXNNi6V",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1561516248447,
"version": 1,
"sender": "3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf",
"senderPublicKey": "88G7uaEAqauYWiPX3DFqaVYbbutCc9nH2DNJcvQ6gHeH",
"proofs": [
"ZcbkqB8onBECda1opA5jWbxhVXL7C52sv56ncejmE9RssrYfxQGjhjewfvk8okXYNDPsV7HmmpHj1N1f57zVLWW"
],
"assetId": "G6M1QMtQ8MwtLe38r3Q3v8oS7Jz5ZJjrxxBTveGE73XK",
"script": "base64:AgQAAAAGaXNzdWVkAAAAAWuRfkzwBAAAAApiYXNlQW1vdW50AAAAAAAAD0JABAAAAAhtaWxJbkRheQAAAAAAAADqYAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAmV4BQAAAAckbWF0Y2gwAwkAAGcAAAACCAgFAAAAAmV4AAAACGJ1eU9yZGVyAAAABXByaWNlCQAAZAAAAAIFAAAACmJhc2VBbW91bnQJAABoAAAAAgkAAGkAAAACCQAAZQAAAAIIBQAAAAJleAAAAAl0aW1lc3RhbXAFAAAABmlzc3VlZAUAAAAIbWlsSW5EYXkFAAAACmJhc2VBbW91bnQGCQAAZwAAAAIICAUAAAACZXgAAAAJc2VsbE9yZGVyAAAABXByaWNlCQAAZAAAAAIJAABkAAAAAgUAAAAKYmFzZUFtb3VudAkAAGgAAAACCQAAaQAAAAIJAABlAAAAAggFAAAAAmV4AAAACXRpbWVzdGFtcAUAAAAGaXNzdWVkBQAAAAhtaWxJbkRheQUAAAAKYmFzZUFtb3VudAAAAAAAAAAAAQMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwZ9qhPK",
"chainId": 84,
"height": 558494,
"spentComplexity": 0
}
View: original | compacted
Prev: FRuS41BLvH26xEGFsmE6K9K2Y9TJn5T6dzAoJ6Dmf2rP
Next: CwB2eUVvTSDNhdnppHL2jnhcuFXPpqPYiLgBwQ3WBgoo
Diff:
Old | New | | Differences |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let issued = 1561514102000 |
---|
4 | 4 | | let baseAmount = 1000000 |
---|
5 | | - | let milInDay = 86400000 |
---|
| 5 | + | let milInDay = 60000 |
---|
6 | 6 | | match tx { |
---|
7 | 7 | | case ex: ExchangeTransaction => |
---|
8 | 8 | | if ((ex.buyOrder.price >= (baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount)))) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let issued = 1561514102000 |
---|
4 | 4 | | let baseAmount = 1000000 |
---|
5 | | - | let milInDay = 86400000 |
---|
| 5 | + | let milInDay = 60000 |
---|
6 | 6 | | match tx { |
---|
7 | 7 | | case ex: ExchangeTransaction => |
---|
8 | 8 | | if ((ex.buyOrder.price >= (baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount)))) |
---|
9 | 9 | | then true |
---|
10 | 10 | | else (ex.sellOrder.price >= ((baseAmount + (((ex.timestamp - issued) / milInDay) * baseAmount)) + 1)) |
---|
11 | 11 | | case t: BurnTransaction|MassTransferTransaction|TransferTransaction => |
---|
12 | 12 | | false |
---|
13 | 13 | | case _ => |
---|
14 | 14 | | true |
---|
15 | 15 | | } |
---|