tx · DGVi2GeNFJhPiZQeJ9X1sbJ1B75adJce8sM2PRNfDeGx

3PGZeXfoHHTVvxbn35Cc9WDYsJDpLVossBG:  -0.01400000 Waves

2019.04.18 20:52 [1488431] smart account 3PGZeXfoHHTVvxbn35Cc9WDYsJDpLVossBG > SELF 0.00000000 Waves

{ "type": 13, "id": "DGVi2GeNFJhPiZQeJ9X1sbJ1B75adJce8sM2PRNfDeGx", "fee": 1400000, "feeAssetId": null, "timestamp": 1555610000842, "version": 1, "sender": "3PGZeXfoHHTVvxbn35Cc9WDYsJDpLVossBG", "senderPublicKey": "FLoFbkYbVTH2Bef5FHLXC7MxWMfkX8ur1aYKbvbYW6nv", "proofs": [ "3Qdv56ydfTYXk5QEDAh9Rb2m31EyyLVVfbXebxdEQQsr9W226yK4FdAz4YaPpZvEPr7bbedxpQMJmYidCbUrsLCW" ], "script": "base64:AgQAAAAIdmVyaWZpZWQJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHIFAAAAByRtYXRjaDAEAAAABHRoaXMIBQAAAAJ0cgAAAAZzZW5kZXIEAAAADmFjY291bnRiYWxhbmNlCQEAAAAMd2F2ZXNCYWxhbmNlAAAAAQUAAAAEdGhpcwQAAAAIdHhoZWlnaHQJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAR0aGlzAgAAAAh0eGhlaWdodAQAAAAKbWluYmFsYW5jZQkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABHRoaXMCAAAAA2JhbAMDCQAAZgAAAAIFAAAACm1pbmJhbGFuY2UFAAAADmFjY291bnRiYWxhbmNlBgkAAGYAAAACBQAAAAh0eGhlaWdodAUAAAAGaGVpZ2h0CQAAAgAAAAECAAAAFFRyYW5zZmVyIG5vdCBhbGxvd2VkBQAAAAh2ZXJpZmllZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAFT3JkZXIEAAAAAm9yBQAAAAckbWF0Y2gwAwkAAAAAAAACCAUAAAACdHgAAAAGc2VuZGVyCAUAAAACb3IAAAAGc2VuZGVyBAAAAAR0aGlzCAUAAAACb3IAAAAGc2VuZGVyBAAAAA5hY2NvdW50YmFsYW5jZQkBAAAADHdhdmVzQmFsYW5jZQAAAAEFAAAABHRoaXMEAAAACHR4aGVpZ2h0CQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAEdGhpcwIAAAAIdHhoZWlnaHQEAAAACm1pbmJhbGFuY2UJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAAR0aGlzAgAAAANiYWwDAwkAAGYAAAACBQAAAAptaW5iYWxhbmNlBQAAAA5hY2NvdW50YmFsYW5jZQYJAABmAAAAAgUAAAAIdHhoZWlnaHQFAAAABmhlaWdodAkAAAIAAAABAgAAABNUcmFkaW5nIG5vdCBhbGxvd2VkBQAAAAh2ZXJpZmllZAUAAAAIdmVyaWZpZWQDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAAFb3RoZXIFAAAAByRtYXRjaDAFAAAACHZlcmlmaWVkCQEAAAAFdGhyb3cAAAAA5y1plQ==", "chainId": 87, "height": 1488431, "spentComplexity": 0 } View: original | compacted Prev: 8d9EgVFuajYsCvBpwxzGJuFaZWf8ExFbYtoeNSWT7Q3L Next: 8XsybBtz7QPojrzYvp2XyZ8iMbQRfvreAMkxqFZ1bjvm Diff:
OldNewDifferences
1313 then throw("Transfer not allowed")
1414 else verified
1515 case or: Order =>
16- let this = or.sender
17- let accountbalance = wavesBalance(this)
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
24- if (if ((minbalance > accountbalance))
25- then true
26- else (txheight > height))
27- then throw("Trading not allowed")
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+ }
2828 else verified
2929 case other: ExchangeTransaction|SetScriptTransaction|DataTransaction =>
3030 verified
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
1212 else (txheight > height))
1313 then throw("Transfer not allowed")
1414 else verified
1515 case or: Order =>
16- let this = or.sender
17- let accountbalance = wavesBalance(this)
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
24- if (if ((minbalance > accountbalance))
25- then true
26- else (txheight > height))
27- then throw("Trading not allowed")
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+ }
2828 else verified
2929 case other: ExchangeTransaction|SetScriptTransaction|DataTransaction =>
3030 verified
3131 case _ =>
3232 throw()
3333 }

github/deemru/w8io/6500d08 
86.79 ms