tx · FRuS41BLvH26xEGFsmE6K9K2Y9TJn5T6dzAoJ6Dmf2rP
3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf: -1.00000000 Waves
2019.06.26 05:26 [558490] smart asset 3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf > SELF 0.00000000 teste1
{
"type": 15,
"id": "FRuS41BLvH26xEGFsmE6K9K2Y9TJn5T6dzAoJ6Dmf2rP",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1561515985480,
"version": 1,
"sender": "3N6D7UZCcSAPNyZuZsCH7RNm4hcj5UjS3sf",
"senderPublicKey": "88G7uaEAqauYWiPX3DFqaVYbbutCc9nH2DNJcvQ6gHeH",
"proofs": [
"432UW3194UVZKQm6mq9PhAKYYoiq6nURsoDaiLM7DUtfFdbYzrz9X44i4TJcXQhyH68qrS2PEFnudQN7zksKrN8t"
],
"assetId": "G6M1QMtQ8MwtLe38r3Q3v8oS7Jz5ZJjrxxBTveGE73XK",
"script": "base64:AgQAAAAGaXNzdWVkAAAAAWuRfkzwBAAAAApiYXNlQW1vdW50AAAAAAAAD0JABAAAAAhtaWxJbkRheQAAAAAABSZcAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAmV4BQAAAAckbWF0Y2gwAwkAAGcAAAACCAgFAAAAAmV4AAAACGJ1eU9yZGVyAAAABXByaWNlCQAAZAAAAAIFAAAACmJhc2VBbW91bnQJAABoAAAAAgkAAGkAAAACCQAAZQAAAAIIBQAAAAJleAAAAAl0aW1lc3RhbXAFAAAABmlzc3VlZAUAAAAIbWlsSW5EYXkFAAAACmJhc2VBbW91bnQGCQAAZwAAAAIICAUAAAACZXgAAAAJc2VsbE9yZGVyAAAABXByaWNlCQAAZAAAAAIJAABkAAAAAgUAAAAKYmFzZUFtb3VudAkAAGgAAAACCQAAaQAAAAIJAABlAAAAAggFAAAAAmV4AAAACXRpbWVzdGFtcAUAAAAGaXNzdWVkBQAAAAhtaWxJbkRheQUAAAAKYmFzZUFtb3VudAAAAAAAAAAAAQMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwaNW2iI",
"chainId": 84,
"height": 558490,
"spentComplexity": 0
}
View: original | compacted
Prev: 315WoL3e7e9TQhXq4TNEUFQuvtg1fmN7aQwiCE8rffop
Next: BpiXwMTQcf2gUrkESEskt8XT6roysbDu9FDR3AXNNi6V
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let issued = 1561514102 |
---|
| 3 | + | let issued = 1561514102000 |
---|
4 | 4 | | let baseAmount = 1000000 |
---|
5 | | - | let milInDay = 86400 |
---|
| 5 | + | let milInDay = 86400000 |
---|
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 | | - | let issued = 1561514102 |
---|
| 3 | + | let issued = 1561514102000 |
---|
4 | 4 | | let baseAmount = 1000000 |
---|
5 | | - | let milInDay = 86400 |
---|
| 5 | + | let milInDay = 86400000 |
---|
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 | | } |
---|