tx · 5qAFkEYUEsqBzndkJgMaamenLDLfxvk2Ms3jcDHK9iD1

3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb:  -1.00000000 Waves

2019.03.17 14:19 [540127] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 ZAraa

{ "type": 15, "id": "5qAFkEYUEsqBzndkJgMaamenLDLfxvk2Ms3jcDHK9iD1", "fee": 100000000, "feeAssetId": null, "timestamp": 1552821603306, "version": 1, "sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb", "senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf", "proofs": [ "SUChReVfXDPbCr99EWnmSQhG5rksregF8f94BCrjPvc5SEnzBq282grEsqSagiSNs4jHECjRZNzivT2ZDo1cyZp" ], "assetId": "6uTUhCBEKUcWVxKz8sHJ2oh616PmmGPMFV1cr2Hx9Ggu", "script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUn3ENnb2h8+cM5MoAZuZG+9HctthQtzPqBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAPc2VuZGVyUHVibGljS2V5BAAAAANidXkJAAH0AAAAAwgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAACdHgAAAAIYnV5T3JkZXIAAAAPc2VuZGV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c3NldAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGBxHNzDE=", "chainId": 84, "height": 540127, "spentComplexity": 0 } View: original | compacted Prev: DY1TTfFDr4bshviDwZUZsBwzb8xGZnedXcjHDB8Y7Hh3 Next: 2otMNLv5yW1dys7T8D3bvYTbvtWSCbBZrxbKWSZPJJDX Diff:
OldNewDifferences
1010 let sellOrderSenderCategory = getString(issuer, sellOrderSender)
1111 let buyOrderSenderCategory = getString(issuer, buyOrderSender)
1212 let am = 6000000000
13- if (sell)
13+ if (if (sell)
1414 then if ((am > tx.sellOrder.amount))
1515 then throw("Min sell ammount = 60")
1616 else true
17- else false
17+ else false)
18+ then true
19+ else if (buy)
20+ then if ((am > tx.buyOrder.amount))
21+ then throw("Min sell ammount = 60")
22+ else true
23+ else false
1824 case tx: MassTransferTransaction =>
1925 if ((tx.sender == issuer))
2026 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let issuer = Address(base58'3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb')
44 match tx {
55 case tx: ExchangeTransaction =>
66 let sell = sigVerify(tx.sellOrder.bodyBytes, tx.sellOrder.proofs[0], tx.sellOrder.senderPublicKey)
77 let buy = sigVerify(tx.buyOrder.bodyBytes, tx.buyOrder.proofs[0], tx.buyOrder.senderPublicKey)
88 let sellOrderSender = toBase58String(tx.sellOrder.sender.bytes)
99 let buyOrderSender = toBase58String(tx.sellOrder.sender.bytes)
1010 let sellOrderSenderCategory = getString(issuer, sellOrderSender)
1111 let buyOrderSenderCategory = getString(issuer, buyOrderSender)
1212 let am = 6000000000
13- if (sell)
13+ if (if (sell)
1414 then if ((am > tx.sellOrder.amount))
1515 then throw("Min sell ammount = 60")
1616 else true
17- else false
17+ else false)
18+ then true
19+ else if (buy)
20+ then if ((am > tx.buyOrder.amount))
21+ then throw("Min sell ammount = 60")
22+ else true
23+ else false
1824 case tx: MassTransferTransaction =>
1925 if ((tx.sender == issuer))
2026 then true
2127 else throw("You cannot send this asset via MassTransferTransaction")
2228 case tx: BurnTransaction =>
2329 if ((tx.sender == issuer))
2430 then true
2531 else throw("You cannot burn this asset")
2632 case tx: ReissueTransaction|SetAssetScriptTransaction =>
2733 true
2834 case _ =>
2935 false
3036 }

github/deemru/w8io/026f985 
43.61 ms