2019.04.18 20:59 [1488439] smart account 3PGZeXfoHHTVvxbn35Cc9WDYsJDpLVossBG > SELF 0.00000000 Waves

{ "type": 13, "id": "CCruQowmrjJdpRFzgdZ4UvQFgXu4yExSwjiqLkfKZ1oh", "fee": 1400000, "feeAssetId": null, "timestamp": 1555610468825, "version": 1, "sender": "3PGZeXfoHHTVvxbn35Cc9WDYsJDpLVossBG", "senderPublicKey": "FLoFbkYbVTH2Bef5FHLXC7MxWMfkX8ur1aYKbvbYW6nv", "proofs": [ "5DPPSv4bLNwyi3wiu7Tb2BxiYcTuVpigPMFvQFbHrbu7eiKQZjmSqyZF58DhheNixhPcEVgHNP5oJgnPKHLcc2wS" ], "script": "base64:AgQAAAAIdmVyaWZpZWQJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHIFAAAAByRtYXRjaDAEAAAABHRoaXMIBQAAAAJ0cgAAAAZzZW5kZXIEAAAADmFjY291bnRiYWxhbmNlCQEAAAAMd2F2ZXNCYWxhbmNlAAAAAQUAAAAEdGhpcwQAAAAIdHhoZWlnaHQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAR0aGlzAgAAAAh0eGhlaWdodAQAAAAKbWluYmFsYW5jZQkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABHRoaXMCAAAAA2JhbAMJAABmAAAAAgUAAAAKbWluYmFsYW5jZQUAAAAOYWNjb3VudGJhbGFuY2UJAAACAAAAAQIAAAALTG93IGJhbGFuY2UDCQAAZgAAAAIFAAAACHR4aGVpZ2h0BQAAAAZoZWlnaHQJAAACAAAAAQIAAAAiVHJhZGluZyBub3QgYWxsb3dlZCBvbiB0aGlzIGhlaWdodAUAAAAIdmVyaWZpZWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBAAAAAJvcgUAAAAHJG1hdGNoMAQAAAAEdGhpcwgFAAAAAm9yAAAABnNlbmRlcgQAAAAOYWNjb3VudGJhbGFuY2UJAQAAAAx3YXZlc0JhbGFuY2UAAAABBQAAAAR0aGlzBAAAAAh0eGhlaWdodAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABHRoaXMCAAAACHR4aGVpZ2h0BAAAAAptaW5iYWxhbmNlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAEdGhpcwIAAAADYmFsAwkAAGYAAAACBQAAAAptaW5iYWxhbmNlBQAAAA5hY2NvdW50YmFsYW5jZQkAAAIAAAABAgAAAAtMb3cgYmFsYW5jZQMJAABmAAAAAgUAAAAIdHhoZWlnaHQFAAAABmhlaWdodAkAAAIAAAABAgAAACJUcmFkaW5nIG5vdCBhbGxvd2VkIG9uIHRoaXMgaGVpZ2h0BQAAAAh2ZXJpZmllZAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAVvdGhlcgUAAAAHJG1hdGNoMAUAAAAIdmVyaWZpZWQJAQAAAAV0aHJvdwAAAACln0RD", "chainId": 87, "height": 1488439, "spentComplexity": 0 } View: original | compacted Prev: 8XsybBtz7QPojrzYvp2XyZ8iMbQRfvreAMkxqFZ1bjvm Next: 9qEdYi8RjjzdAsC5jBJSYFJPuiSmWK4c1mB7LgVYnCWY Diff:
OldNewDifferences
77 let accountbalance = wavesBalance(this)
88 let txheight = extract(getInteger(this, "txheight"))
99 let minbalance = extract(getInteger(this, "bal"))
10- if (if ((minbalance > accountbalance))
11- then true
12- else (txheight > height))
13- then throw("Transfer not allowed")
14- else verified
10+ if ((minbalance > accountbalance))
11+ then throw("Low balance")
12+ else if ((txheight > height))
13+ then throw("Trading not allowed on this height")
14+ else verified
1515 case or: Order =>
16- if ((tx.sender != or.sender))
17- then {
18- let this = or.sender
19- let accountbalance = wavesBalance(this)
20- let txheight = extract(getInteger(this, "txheight"))
21- let minbalance = extract(getInteger(this, "bal"))
22- if (if ((minbalance > accountbalance))
23- then true
24- else (txheight > height))
25- then throw("Trading not allowed")
26- else verified
27- }
28- else verified
16+ let this = or.sender
17+ let accountbalance = wavesBalance(this)
18+ let txheight = extract(getInteger(this, "txheight"))
19+ let minbalance = extract(getInteger(this, "bal"))
20+ if ((minbalance > accountbalance))
21+ then throw("Low balance")
22+ else if ((txheight > height))
23+ then throw("Trading not allowed on this height")
24+ else verified
2925 case other: ExchangeTransaction|SetScriptTransaction|DataTransaction =>
3026 verified
3127 case _ =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let verified = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
44 match tx {
55 case tr: TransferTransaction =>
66 let this = tr.sender
77 let accountbalance = wavesBalance(this)
88 let txheight = extract(getInteger(this, "txheight"))
99 let minbalance = extract(getInteger(this, "bal"))
10- if (if ((minbalance > accountbalance))
11- then true
12- else (txheight > height))
13- then throw("Transfer not allowed")
14- else verified
10+ if ((minbalance > accountbalance))
11+ then throw("Low balance")
12+ else if ((txheight > height))
13+ then throw("Trading not allowed on this height")
14+ else verified
1515 case or: Order =>
16- if ((tx.sender != or.sender))
17- then {
18- let this = or.sender
19- let accountbalance = wavesBalance(this)
20- let txheight = extract(getInteger(this, "txheight"))
21- let minbalance = extract(getInteger(this, "bal"))
22- if (if ((minbalance > accountbalance))
23- then true
24- else (txheight > height))
25- then throw("Trading not allowed")
26- else verified
27- }
28- else verified
16+ let this = or.sender
17+ let accountbalance = wavesBalance(this)
18+ let txheight = extract(getInteger(this, "txheight"))
19+ let minbalance = extract(getInteger(this, "bal"))
20+ if ((minbalance > accountbalance))
21+ then throw("Low balance")
22+ else if ((txheight > height))
23+ then throw("Trading not allowed on this height")
24+ else verified
2925 case other: ExchangeTransaction|SetScriptTransaction|DataTransaction =>
3026 verified
3127 case _ =>
3228 throw()
3329 }

github/deemru/w8io/786bc32 
66.06 ms