tx · 93jpbXgycguPdeT9VkqmLxs13SmMRN6Qef4mNrCENPP5

3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg:  -1.00400000 Waves

2019.08.04 17:52 [616278] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOP

{ "type": 15, "id": "93jpbXgycguPdeT9VkqmLxs13SmMRN6Qef4mNrCENPP5", "fee": 100400000, "feeAssetId": null, "timestamp": 1564930314684, "version": 1, "sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg", "senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7", "proofs": [ "2BCF1hL9Hj7gvdy72fYMGYnQmgWAZ19vGN4ybdFFsNbW8NbTC9uCurRMAVNTc8JDU2jGfE1pDf6hRzqTgEnDd3TP" ], "assetId": "7oBrNTupD7DbgdpcmmbgPnFwPThRTBW88MCJvushcSRc", "script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwBAAAAAtwcmVzZWxsVGltZQkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAAEZXhUeAAAAAl0aW1lc3RhbXAEAAAAD3RydWVTZW5kZXJPcmRlcgkBAAAAAiE9AAAAAggIBQAAAARleFR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBAAAAAtpc0Ftb3VudEJ1eQkAAGYAAAACCAgFAAAABGV4VHgAAAAIYnV5T3JkZXIAAAAGYW1vdW50AAAAAAAAAAAAAwMDBQAAAA90cnVlU2VuZGVyT3JkZXIFAAAAC2lzQW1vdW50QnV5BwUAAAALcHJlc2VsbFRpbWUHBgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAZgAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAA5jb21wYW55QWRkZXJzcwIAAAAOZW5kUHJlc2VsbFRpbWUIBQAAAAF0AAAACXRpbWVzdGFtcAMJAAAAAAAAAggFAAAAAXQAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcwYJAAAAAAAAAggFAAAAAXQAAAAJcmVjaXBpZW50BQAAAA5jb21wYW55QWRkZXJzcwYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnNjBQAAAAckbWF0Y2gwCQAAAAAAAAIIBQAAAAJzYwAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzB/m7VNo=", "chainId": 84, "height": 616278, "spentComplexity": 0 } View: original | compacted Prev: 5X1RCCgWNR1aCLM1F3uP3QVcZEtKaoRZpex5nHSuMpiF Next: DkM9mw6rpJCTDc1rtV9HKCejEdYAgpQoXmsVpJq2gyFs Diff:
OldNewDifferences
44 match tx {
55 case exTx: ExchangeTransaction =>
66 let presellTime = (extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)
7- let trueSenderOrder = if ((exTx.buyOrder.sender != exTx.sellOrder.sender))
8- then if (if ((exTx.buyOrder.sender != companyAdderss))
9- then true
10- else (exTx.buyOrder.sender == companyAdderss))
11- then true
12- else (exTx.sellOrder.sender == companyAdderss)
13- else false
14- if (presellTime)
15- then trueSenderOrder
16- else false
7+ let trueSenderOrder = (exTx.sellOrder.sender != companyAdderss)
8+ let isAmountBuy = (exTx.buyOrder.amount > 0)
9+ if (if (if (trueSenderOrder)
10+ then isAmountBuy
11+ else false)
12+ then presellTime
13+ else false)
14+ then true
15+ else true
1716 case t: TransferTransaction =>
1817 if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp))
1918 then if ((t.sender == companyAdderss))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let companyAdderss = Address(base58'3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg')
44 match tx {
55 case exTx: ExchangeTransaction =>
66 let presellTime = (extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)
7- let trueSenderOrder = if ((exTx.buyOrder.sender != exTx.sellOrder.sender))
8- then if (if ((exTx.buyOrder.sender != companyAdderss))
9- then true
10- else (exTx.buyOrder.sender == companyAdderss))
11- then true
12- else (exTx.sellOrder.sender == companyAdderss)
13- else false
14- if (presellTime)
15- then trueSenderOrder
16- else false
7+ let trueSenderOrder = (exTx.sellOrder.sender != companyAdderss)
8+ let isAmountBuy = (exTx.buyOrder.amount > 0)
9+ if (if (if (trueSenderOrder)
10+ then isAmountBuy
11+ else false)
12+ then presellTime
13+ else false)
14+ then true
15+ else true
1716 case t: TransferTransaction =>
1817 if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp))
1918 then if ((t.sender == companyAdderss))
2019 then true
2120 else (t.recipient == companyAdderss)
2221 else true
2322 case sc: SetAssetScriptTransaction =>
2423 (sc.sender == companyAdderss)
2524 case _ =>
2625 false
2726 }

github/deemru/w8io/026f985 
18.40 ms