tx · HJEsvyR66efFMBFH5NvN6zx8vMkL4Fumhspq9xS7mNbm
3N2zxYnJpnK29faWNfVTiSrm5X7XbBzFvi5: -1.00000000 Waves
2019.03.18 02:35 [540890] smart asset 3N2zxYnJpnK29faWNfVTiSrm5X7XbBzFvi5 > SELF 0.00 vostok1
{
"type": 15,
"id": "HJEsvyR66efFMBFH5NvN6zx8vMkL4Fumhspq9xS7mNbm",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1552865697482,
"version": 1,
"sender": "3N2zxYnJpnK29faWNfVTiSrm5X7XbBzFvi5",
"senderPublicKey": "Gm42EEXhEp68FtQj9r6yRmVExRiLYPwgWW4465b1pRmF",
"proofs": [
"5oAPxNP99UtPfqknWBDYsBdxT7JVw5FrKk6mg95rYcvVy2x8nJmib7LgXd2ARS1v5XJyAQbCpB77i4DL7x9NcKc8"
],
"assetId": "AbBjDq6kzNspSUt5zAJBzQMncfsTsZznyiHpZUTiiQkt",
"script": "base64:AgQAAAALbmFtaUFkZHJlc3MJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNOMnp4WW5KcG5LMjlmYVdOZlZUaVNybTVYN1hiQnpGdmk1BAAAAAVwcmljZQAAAAAAAAAAFgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIICAUAAAABdAAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyBQAAAAtuYW1pQWRkcmVzcwYJAAAAAAAAAggIBQAAAAF0AAAACGJ1eU9yZGVyAAAACW9yZGVyVHlwZQUAAAADQnV5Bsjsj2c=",
"chainId": 84,
"height": 540890,
"spentComplexity": 0
}
View: original | compacted
Prev: 7uM4a3Lmnu3PjjSYBYy9QnWDpokDRZ8dXhfjWpNd4xf
Next: 3AmZAVMywScxvQ7JAut36VcTPrpZxRkMBqVLXUTmw6sr
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let namiAddress = addressFromString("3N2zxYnJpnK29faWNfVTiSrm5X7XbBzFvi5") |
---|
3 | 4 | | let price = 22 |
---|
4 | | - | let namiAddress = addressFromString("3N2zxYnJpnK29faWNfVTiSrm5X7XbBzFvi5") |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case t: ExchangeTransaction => |
---|
7 | | - | (t.sellOrder.sender == namiAddress) |
---|
| 7 | + | if ((t.sellOrder.sender == namiAddress)) |
---|
| 8 | + | then true |
---|
| 9 | + | else (t.buyOrder.orderType == Buy) |
---|
8 | 10 | | case _ => |
---|
9 | 11 | | true |
---|
10 | 12 | | } |
---|