tx · 8kpr1M9Qqx7ySTtuHEcA6C5f5jGRe3Rcnf1pgu9K1oEA

3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9:  -1.00000000 Waves

2019.03.19 05:24 [542506] smart asset 3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9 > SELF 0.00000000 2020

{ "type": 15, "id": "8kpr1M9Qqx7ySTtuHEcA6C5f5jGRe3Rcnf1pgu9K1oEA", "fee": 100000000, "feeAssetId": null, "timestamp": 1552962269539, "version": 1, "sender": "3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9", "senderPublicKey": "5HwUTPzUP1wy7djMELX2wLNmasSaARD4kw1xpAyeJw1h", "proofs": [ "4NuACjfeexhtuErzQTUKuDCRRF9AksvvxtjkrVsKFo2bHX32mJcyku9nmXVgPubstxR9XXG1yE9A2QC9bQ4Xrut7" ], "assetId": "Cj5PHEx7yo2DSCyP3DdVSq9xuPuLMNpQWbTPcDoUBUCn", "script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUMALd3HQqggV4csLYbBu0QaHaUC3AkGsMBAAAAAdhc3NldElkAQAAACCuN+hG5QXNWmrs7C+qkKjbR9QaS6zpVjI/kDAkUBLC9wQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAmV4BQAAAAckbWF0Y2gwBAAAAARwYWlyCQEAAAAJQXNzZXRQYWlyAAAAAgUAAAAHYXNzZXRJZAUAAAAEdW5pdAQAAAAEcmF0ZQkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABmlzc3VlcgIAAAACMTAEAAAACHJhdGVEaWZmCQAAZQAAAAIFAAAABHJhdGUJAABrAAAAAwAAAAAABfXhAAgFAAAAAmV4AAAABXByaWNlCAUAAAACZXgAAAAGYW1vdW50AwMJAAAAAAAAAggIBQAAAAJleAAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIFAAAABHBhaXIJAABmAAAAAgUAAAAIcmF0ZURpZmYA//////////8HCQAAZgAAAAIAAAAAAAAAAAoFAAAACHJhdGVEaWZmBwZxlaWm", "chainId": 84, "height": 542506, "spentComplexity": 0 } View: original | compacted Prev: 8P9d3gwNufwnQtSxMJpUv1n3yDhyLfpoe9LY1aXLdCH1 Next: none Diff:
OldNewDifferences
88 let rate = extract(getInteger(issuer, "10"))
99 let rateDiff = (rate - fraction(100000000, ex.price, ex.amount))
1010 if (if ((ex.buyOrder.assetPair == pair))
11- then (rateDiff > -100)
11+ then (rateDiff > -1)
1212 else false)
13- then (100 > rateDiff)
13+ then (10 > rateDiff)
1414 else false
1515 case _ =>
1616 true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let issuer = Address(base58'3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9')
44 let assetId = base58'Cj5PHEx7yo2DSCyP3DdVSq9xuPuLMNpQWbTPcDoUBUCn'
55 match tx {
66 case ex: ExchangeTransaction =>
77 let pair = AssetPair(assetId, unit)
88 let rate = extract(getInteger(issuer, "10"))
99 let rateDiff = (rate - fraction(100000000, ex.price, ex.amount))
1010 if (if ((ex.buyOrder.assetPair == pair))
11- then (rateDiff > -100)
11+ then (rateDiff > -1)
1212 else false)
13- then (100 > rateDiff)
13+ then (10 > rateDiff)
1414 else false
1515 case _ =>
1616 true
1717 }

github/deemru/w8io/026f985 
24.58 ms