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