tx · 79BsmhXjqFAmieAMnYvirpG7R2ucGoVKqGHFvXCjKce6
3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA: -1.00000000 Waves
2019.01.14 17:34 [449778] smart asset 3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA > SELF 0.00000000 DexLotto04
{
"type": 15,
"id": "79BsmhXjqFAmieAMnYvirpG7R2ucGoVKqGHFvXCjKce6",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1547476533237,
"version": 1,
"sender": "3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA",
"senderPublicKey": "Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH",
"proofs": [
"MnGhoiRQBT29aEswgQRxBs2iVMoi6XysnvtbYiYSjboCVC9soR6k323zASi5kGLovhxVPNuymrbVLWwkmCGaFGm"
],
"assetId": "HZXhef3KRrLHJiVpVVdbDWbYNTdXoYY4FYhVt6AyAJzQ",
"script": "base64:AQQAAAAFbG90dG8BAAAAIM5/SbYnQBvmeWPjlbnQqjja9sn0WmqR6XNSaCaPDtkgBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAMJAAAAAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkICAUAAAABZQAAAAhidXlPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkDAwkAAAAAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlAAAAAAAAAAABBgkAAAAAAAACCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAPc2VuZGVyUHVibGljS2V5BQAAAAVsb3R0bwYHAwkAAAAAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlAAAAAAAAAAABBgcGbdWqGg==",
"chainId": 84,
"height": 449778,
"spentComplexity": 0
}
View: original | compacted
Prev: Czyx9rvnuBH8qx9eSD3Ging7h85kgJWzj6d3wyJYr785
Next: HLir9DMyai9YMp1mUrrDzUqG2kCJLxtYpEZQEVEjZGKu
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let lotto = base58'Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH' |
---|
3 | 4 | | match tx { |
---|
4 | 5 | | case e: ExchangeTransaction => |
---|
5 | 6 | | if ((e.sellOrder.senderPublicKey == e.buyOrder.senderPublicKey)) |
---|
6 | | - | then true |
---|
| 7 | + | then if (if ((e.sellOrder.price == 1)) |
---|
| 8 | + | then true |
---|
| 9 | + | else (e.buyOrder.senderPublicKey == lotto)) |
---|
| 10 | + | then true |
---|
| 11 | + | else false |
---|
7 | 12 | | else if ((e.sellOrder.price == 1)) |
---|
8 | 13 | | then true |
---|
9 | 14 | | else false |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let lotto = base58'Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH' |
---|
3 | 4 | | match tx { |
---|
4 | 5 | | case e: ExchangeTransaction => |
---|
5 | 6 | | if ((e.sellOrder.senderPublicKey == e.buyOrder.senderPublicKey)) |
---|
6 | | - | then true |
---|
| 7 | + | then if (if ((e.sellOrder.price == 1)) |
---|
| 8 | + | then true |
---|
| 9 | + | else (e.buyOrder.senderPublicKey == lotto)) |
---|
| 10 | + | then true |
---|
| 11 | + | else false |
---|
7 | 12 | | else if ((e.sellOrder.price == 1)) |
---|
8 | 13 | | then true |
---|
9 | 14 | | else false |
---|
10 | 15 | | case _ => |
---|
11 | 16 | | true |
---|
12 | 17 | | } |
---|