tx · GkNjMbdy7PXvtLfyvx4zEBshND2hBdLUvQzhC63jFFty

3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE:  -1.00400000 Waves

2019.07.04 11:19 [570430] smart asset 3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE > SELF 0.00000 PASS

{ "type": 15, "id": "GkNjMbdy7PXvtLfyvx4zEBshND2hBdLUvQzhC63jFFty", "fee": 100400000, "feeAssetId": null, "timestamp": 1562228392549, "version": 1, "sender": "3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE", "senderPublicKey": "5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES", "proofs": [ "3nUvwUy3aKc4Ybj1dXKJQqeqN4hydoaNr8WP7w7LQ8cFdm1sKL1wxyKfWdCXxeDLRYn2Y4hi3Ds9uCkGN3XdyK1y" ], "assetId": "7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29", "script": "base64:AwQAAAAOb3duZXJQdWJsaWNLZXkBAAAAIEWL9bYTPmjYp+f8WUAtz6DaJ6KrIAyb2bOoFYKH1nAPBAAAAANLWUMJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTWNCDJr/AdVJ/HdBovhu37oPuYKPc8PVMEAAAAC1Bhc3NBc3NldElkAQAAACBg/bKkSalvO39oSPndnvUn1DFYSTpsagMRseVLRWFZYgQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24EAAAAAXMFAAAAByRtYXRjaDAGAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAAA2tleQkAAlgAAAABCAgFAAAAAnR4AAAABnNlbmRlcgAAAAVieXRlcwkBAAAAEUBleHRyTmF0aXZlKDEwNTEpAAAAAgUAAAADS1lDBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAAE3NlbGxNYXRjaGVyRmVlQXNzZXQICAUAAAABZQAAAAlzZWxsT3JkZXIAAAARbWF0Y2hlckZlZUFzc2V0SWQDCQAAAAAAAAIFAAAAE3NlbGxNYXRjaGVyRmVlQXNzZXQFAAAAC1Bhc3NBc3NldElkCQEAAAARQGV4dHJOYXRpdmUoMTA1MSkAAAACBQAAAANLWUMJAAJYAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyAAAABWJ5dGVzBgdhYrnG", "chainId": 84, "height": 570430, "spentComplexity": 0 } View: original | compacted Prev: As3DykV4q2DktVNnQMXoL1FutupFpu8bAMkaJaL3BaoM Next: AYZqmAHo4WC3XUcXz6CwYwTKDUBdvC5wnfgm126F6Q92 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3+let ownerPublicKey = base58'5gUuv1jjtePpX8rffb1RvQ6FvX2oJ2rNshfF9Dt2NUES'
34 let KYC = Address(base58'3N9Sgptqbbc9whta6iLeeQENfHd833G9hQE')
45 let PassAssetId = base58'7XcWcjbUJuD5Xrc7bhEwVvA7VoDFraH6TXSnFqd6Py29'
56 match tx {
6- case t: SetAssetScriptTransaction|ReissueTransaction =>
7+ case s: SetAssetScriptTransaction|ReissueTransaction =>
78 true
89 case t: MassTransferTransaction|TransferTransaction =>
910 let key = toBase58String(tx.sender.bytes)
1011 getBooleanValue(KYC, key)
1112 case e: ExchangeTransaction =>
1213 let sellMatcherFeeAsset = e.sellOrder.matcherFeeAssetId
13- let buyMatcherFeeAsset = e.buyOrder.matcherFeeAssetId
14- let amountAsset = e.sellOrder.assetPair.amountAsset
15- let priceAsset = e.sellOrder.assetPair.priceAsset
16- if (if (if (if ((sellMatcherFeeAsset == PassAssetId))
14+ if ((sellMatcherFeeAsset == PassAssetId))
1715 then getBooleanValue(KYC, toBase58String(e.sellOrder.sender.bytes))
18- else true)
19- then if ((buyMatcherFeeAsset == PassAssetId))
20- then getBooleanValue(KYC, toBase58String(e.buyOrder.sender.bytes))
21- else true
22- else false)
23- then if ((amountAsset == PassAssetId))
24- then getBooleanValue(KYC, toBase58String(e.sellOrder.sender.bytes))
25- else true
26- else false)
27- then if ((priceAsset == PassAssetId))
28- then getBooleanValue(KYC, toBase58String(e.buyOrder.sender.bytes))
29- else true
30- else false
16+ else true
3117 case _ =>
3218 false
3319 }

github/deemru/w8io/026f985 
27.19 ms