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