tx · GKUMPf64mj7ZUWNTn8qwhFzUFaD9oUcSSq1utL4zC9EK
3N9oerPHhj4SHZky18cB6a47hX97kJXhdCk: -1.00000000 Waves
2018.12.05 15:03 [391300] smart account 3N9oerPHhj4SHZky18cB6a47hX97kJXhdCk > SELF 0.00000000 Waves
{
"type": 13,
"id": "GKUMPf64mj7ZUWNTn8qwhFzUFaD9oUcSSq1utL4zC9EK",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1544011328378,
"version": 1,
"sender": "3N9oerPHhj4SHZky18cB6a47hX97kJXhdCk",
"senderPublicKey": "61HMjwtUvJyZob3UgwK8kXWN6fvhm61aE42jgEgAV6dt",
"proofs": [
"3y5V9TeYoniJbFUi7Ye7LHyvBbZEB6joT65crDbC6yPv5nRD9nN1C1uY8n8xVQf6sTs41mMpaDzs49W8NSbEVTQ1"
],
"script": "base64:AQQAAAAJd2hpdGVMaXN0CQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU7VOX1kS6agEjkb9TWYWE0skVYzwyGL1nBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAABUFsaWNlCQACWAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMEAAAAA0JvYgkAAlgAAAABCAgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMDCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAAJd2hpdGVMaXN0BQAAAAVBbGljZQkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAACXdoaXRlTGlzdAUAAAADQm9iBwZnFwtC",
"chainId": 84,
"height": 391300,
"spentComplexity": 0
}
View: original | compacted
Prev: J3tpuB5KeX5Xba9KVSbr6TaP5SDZjZhYnDGwZ5fSfq68
Next: 3o82urBGNLvcfpiYtXF7ubBDyvQSXhCL6wTGrhNVeNyn
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 | | } |
---|