tx · ASd9TJeet7ffcdKDqw3ipwdUC9iYvXysPQUrTUxfVWEi
3Mx6ozBRPafp1zBnD6m8QThCnEcJ84h77VN: -1.00000000 Waves
2018.12.05 15:03 [391300] smart account 3Mx6ozBRPafp1zBnD6m8QThCnEcJ84h77VN > SELF 0.00000000 Waves
{
"type": 13,
"id": "ASd9TJeet7ffcdKDqw3ipwdUC9iYvXysPQUrTUxfVWEi",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1544011328373,
"version": 1,
"sender": "3Mx6ozBRPafp1zBnD6m8QThCnEcJ84h77VN",
"senderPublicKey": "4c4nAckNxsuafXcg4abFPJ6wBZB6PD7KVNkD1wbVxnxZ",
"proofs": [
"2qUw883mavTVj5kbUuZ6sgN1RGFRuNVZTt5tCHfJW7fsYAZUbdCXiReKxSEoBC4V9sn3wUyGrnA2YDQ5kkNymMih"
],
"script": "base64:AQQAAAAJd2hpdGVMaXN0CQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU7VOX1kS6agEjkb9TWYWE0skVYzwyGL1nBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAABUFsaWNlCQACWAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMEAAAAA0JvYgkAAlgAAAABCAgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMDCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAAJd2hpdGVMaXN0BQAAAAVBbGljZQkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAACXdoaXRlTGlzdAUAAAADQm9iBwZnFwtC",
"chainId": 84,
"height": 391300,
"spentComplexity": 0
}
View: original | compacted
Prev: 8UqDi7KERDzpVSaDFNpJuNhiqXrr8X2rnh5cz9YadXVf
Next: 7u4b4Lu9qdqdcctqaBVR6bL3fruqVgWUcWtuMzMRc6jV
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 | | } |
---|