tx · 8d9EgVFuajYsCvBpwxzGJuFaZWf8ExFbYtoeNSWT7Q3L

3PGZeXfoHHTVvxbn35Cc9WDYsJDpLVossBG:  -0.01400000 Waves

2019.04.18 20:44 [1488420] smart account 3PGZeXfoHHTVvxbn35Cc9WDYsJDpLVossBG > SELF 0.00000000 Waves

{ "type": 13, "id": "8d9EgVFuajYsCvBpwxzGJuFaZWf8ExFbYtoeNSWT7Q3L", "fee": 1400000, "feeAssetId": null, "timestamp": 1555609496979, "version": 1, "sender": "3PGZeXfoHHTVvxbn35Cc9WDYsJDpLVossBG", "senderPublicKey": "FLoFbkYbVTH2Bef5FHLXC7MxWMfkX8ur1aYKbvbYW6nv", "proofs": [ "4CxLPpAwhNHixxTmPTA88ztf7UYE4wrC9MUpWuGqtfcjhSYU7HFWhmKfYc7Xmmpv7WCuVhWxLXyovcPtNCpsKm2D" ], "script": "base64:AgQAAAAIdmVyaWZpZWQJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHIFAAAAByRtYXRjaDAEAAAABHRoaXMIBQAAAAJ0cgAAAAZzZW5kZXIEAAAADmFjY291bnRiYWxhbmNlCQEAAAAMd2F2ZXNCYWxhbmNlAAAAAQUAAAAEdGhpcwQAAAAIdHhoZWlnaHQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAR0aGlzAgAAAAh0eGhlaWdodAQAAAAKbWluYmFsYW5jZQkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABHRoaXMCAAAAA2JhbAMDCQAAZgAAAAIFAAAACm1pbmJhbGFuY2UFAAAADmFjY291bnRiYWxhbmNlBgkAAGYAAAACBQAAAAh0eGh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Vi2GeNFJhPiZQeJ9X1sbJ1B75adJce8sM2PRNfDeGx Diff:
OldNewDifferences
99 let minbalance = extract(getInteger(this, "bal"))
1010 if (if ((minbalance > accountbalance))
1111 then true
12- else (height > txheight))
12+ else (txheight > height))
1313 then throw("Transfer not allowed")
1414 else verified
1515 case or: Order =>
1616 let this = or.sender
1717 let accountbalance = wavesBalance(this)
18- let txheight = extract(getInteger(this, "txheight"))
19- let minbalance = extract(getInteger(this, "bal"))
18+ let txheight = if (isDefined(getInteger(this, "txheight")))
19+ then extract(getInteger(this, "txheight"))
20+ else 0
21+ let minbalance = if (isDefined(getInteger(this, "bal")))
22+ then extract(getInteger(this, "bal"))
23+ else 0
2024 if (if ((minbalance > accountbalance))
2125 then true
22- else (height > txheight))
26+ else (txheight > height))
2327 then throw("Trading not allowed")
2428 else verified
2529 case other: ExchangeTransaction|SetScriptTransaction|DataTransaction =>
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"))
1010 if (if ((minbalance > accountbalance))
1111 then true
12- else (height > txheight))
12+ else (txheight > height))
1313 then throw("Transfer not allowed")
1414 else verified
1515 case or: Order =>
1616 let this = or.sender
1717 let accountbalance = wavesBalance(this)
18- let txheight = extract(getInteger(this, "txheight"))
19- let minbalance = extract(getInteger(this, "bal"))
18+ let txheight = if (isDefined(getInteger(this, "txheight")))
19+ then extract(getInteger(this, "txheight"))
20+ else 0
21+ let minbalance = if (isDefined(getInteger(this, "bal")))
22+ then extract(getInteger(this, "bal"))
23+ else 0
2024 if (if ((minbalance > accountbalance))
2125 then true
22- else (height > txheight))
26+ else (txheight > height))
2327 then throw("Trading not allowed")
2428 else verified
2529 case other: ExchangeTransaction|SetScriptTransaction|DataTransaction =>
2630 verified
2731 case _ =>
2832 throw()
2933 }

github/deemru/w8io/3ef1775 
93.43 ms