tx · 4sdkTxmz4MyL3NV41E9TbksdFEDJ8TzV7wz5hCSsZje7
3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw: -1.00000000 Waves
2018.12.05 15:03 [391300] smart account 3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw > SELF 0.00000000 Waves
{
"type": 13,
"id": "4sdkTxmz4MyL3NV41E9TbksdFEDJ8TzV7wz5hCSsZje7",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1544011328300,
"version": 1,
"sender": "3MwL5afsAvUTAfaj2bpfgaNGAs2tCpaZEGw",
"senderPublicKey": "F5xUkZtTJzQX3HBfL7sF3Qga5btttPpm1MdU8htHtvay",
"proofs": [
"2RryA9LYCFX1dxRuuY9KdEPnrDXXnpAFoyohTRwKbHZUbQAU8cHsYx5ZeZnSmUNmxuRuH5Q1VzQf5tMMtAz82BfH"
],
"script": "base64:AQQAAAAJd2hpdGVMaXN0CQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU7VOX1kS6agEjkb9TWYWE0skVYzwyGL1nBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAABUFsaWNlCQACWAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMEAAAAA0JvYgkAAlgAAAABCAgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAZzZW5kZXIAAAAFYnl0ZXMDCQEAAAAHZXh0cmFjdAAAAAEJAAQbAAAAAgUAAAAJd2hpdGVMaXN0BQAAAAVBbGljZQkBAAAAB2V4dHJhY3QAAAABCQAEGwAAAAIFAAAACXdoaXRlTGlzdAUAAAADQm9iBwZnFwtC",
"chainId": 84,
"height": 391300,
"spentComplexity": 0
}
View: original | compacted
Prev: Hfq4LaZP69Nx8ADCMqtfkNfiuBiL289KZunmHA2tzreh
Next: 4cY8q8mvsRbCYTdLwf6pee7Mxwa4a5sLEFZszwFBXeGS
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 | | } |
---|