tx · 3sLdPquXJdK99jpz9mCN4L5jAGhX666uLdRC5jHuPZpa
3MxP972JBajqkQFSDkDYqdUPTgfQpJ4UuTe: -1.00000000 Waves
2018.12.05 15:03 [391300] smart account 3MxP972JBajqkQFSDkDYqdUPTgfQpJ4UuTe > SELF 0.00000000 Waves
{
"type": 13,
"id": "3sLdPquXJdK99jpz9mCN4L5jAGhX666uLdRC5jHuPZpa",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1544011328376,
"version": 1,
"sender": "3MxP972JBajqkQFSDkDYqdUPTgfQpJ4UuTe",
"senderPublicKey": "3sj6CAsEL2fm1CnP1YUXFkAkS3JZA6LEXWEddFcTqm7n",
"proofs": [
"5dZ41GrX1xvkicqda1vrNcJGCVRUHGf33EDVyERZx1oxvbJPhWKpyuGnW3QWP8wEgJPnigskpGR7wiHBN5WuKXvP"
],
"script": "base64:AQQAAAAJd2hpdGVMaXN0CQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU7VOX1kS6agEjkb9TWYWE0skVYzwyGL1nBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAABUFsaWNlCQACWAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMEAAAAA0JvYgkAAlgAAAABCAgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMDCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAAJd2hpdGVMaXN0BQAAAAVBbGljZQkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAACXdoaXRlTGlzdAUAAAADQm9iBwZnFwtC",
"chainId": 84,
"height": 391300,
"spentComplexity": 0
}
View: original | compacted
Prev: 2HwJapLmYyYixe3w9oTtietbR6hdMhupvrmTFst2Zq5S
Next: BcRMx1Moj3ef7ZEVWoDuHRq9VzLhEdftPBy5tnMkthct
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let startHeight = 390090 |
---|
| 3 | + | let whiteList = Address(base58'3NBYx4Y2HeEFLcUvbZ4phDiAXzg7Fg5dF42') |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case tx: ExchangeTransaction => |
---|
6 | | - | (height > startHeight) |
---|
| 6 | + | let Alice = toBase58String(tx.sellOrder.sender.bytes) |
---|
| 7 | + | let Bob = toBase58String(tx.buyOrder.sender.bytes) |
---|
| 8 | + | if (extract(getBoolean(whiteList, Alice))) |
---|
| 9 | + | then extract(getBoolean(whiteList, Bob)) |
---|
| 10 | + | else false |
---|
7 | 11 | | case _ => |
---|
8 | 12 | | true |
---|
9 | 13 | | } |
---|