tx · GqwLAUVxXkPYmrL8RQq2cuuPw48kqyMH4LU2W6jYfq6m
3N6nbrsW2Xru8wKWWLfFGBGMKwUNG1scEQn: -1.00000000 Waves
2018.12.05 15:03 [391300] smart account 3N6nbrsW2Xru8wKWWLfFGBGMKwUNG1scEQn > SELF 0.00000000 Waves
{
"type": 13,
"id": "GqwLAUVxXkPYmrL8RQq2cuuPw48kqyMH4LU2W6jYfq6m",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1544011328375,
"version": 1,
"sender": "3N6nbrsW2Xru8wKWWLfFGBGMKwUNG1scEQn",
"senderPublicKey": "9qaUvjwzdg3hnXLm7A655TPJs8GYwnYRH9S88u1dnPvv",
"proofs": [
"3cfpKALzRhvjajXktY1ZbB5DxcSVnZ14d33dJoLvX9BHYpZmBJqnAo8A9H4F1gxEBQmJyRptu4DbjZewsLJhJUrR"
],
"script": "base64:AQQAAAAJd2hpdGVMaXN0CQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU7VOX1kS6agEjkb9TWYWE0skVYzwyGL1nBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAABUFsaWNlCQACWAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMEAAAAA0JvYgkAAlgAAAABCAgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMDCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAAJd2hpdGVMaXN0BQAAAAVBbGljZQkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAACXdoaXRlTGlzdAUAAAADQm9iBwZnFwtC",
"chainId": 84,
"height": 391300,
"spentComplexity": 0
}
View: original | compacted
Prev: HbzMTtDHnhx6uLExfuu1dEXgSMy8MSFvMxUSDsMHJGJN
Next: 7veZ84BSnjt5QF81hkautXtP1SRVsm8Gb2DoB7c8Ug2o
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 | | } |
---|