tx · J2Ck9XHcCxHHtogMny2ggBymJ8R3uy3ZKQpvLVoXq5Pg
3MsicoQqvYLqcnj4HDkxn3d4MNugCdAU4B5: -1.00000000 Waves
2019.03.04 13:00 [520987] smart asset 3MsicoQqvYLqcnj4HDkxn3d4MNugCdAU4B5 > SELF 0.00000000 Nami
{
"type": 15,
"id": "J2Ck9XHcCxHHtogMny2ggBymJ8R3uy3ZKQpvLVoXq5Pg",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1551693735189,
"version": 1,
"sender": "3MsicoQqvYLqcnj4HDkxn3d4MNugCdAU4B5",
"senderPublicKey": "9sc6JenpufvxXn2MU8qkKHBRmaRszPnqEkpKgSqXqeJk",
"proofs": [
"62nHhqfM5UA9Uc61xpGcW3ukLTKoZ6BVkPYv7SFJbWUVScCQw6FmsDzvvCZhp6CVWcfVGTRYBaVW9PBYshefm9Vq"
],
"assetId": "FbPsAJDVz1KmEJxqr9P8D8BHsXS4zDvJ8DxtyxtEvjhB",
"script": "base64:AQQAAAAHV2F2ZXNJZAEAAAAEE6vZMwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIICAgFAAAAAXQAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAdXYXZlc0lkBgkAAAAAAAACCAgIBQAAAAF0AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAAB1dhdmVzSWQG8uco4w==",
"chainId": 84,
"height": 520987,
"spentComplexity": 0
}
View: original | compacted
Prev: 5nxkepv7BJUmVpbaenKq6RYodSL3Syoj4fyoBosHsUwq
Next: 8JciDt3vSa5tWzieNA9kttS6zPyxdQxVLVu8X8CzQGZf
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let namiAddress = addressFromString("3NA4EYsZqZ5LLZ1SSVV4C2Yf3witAkxrtLe") |
---|
4 | | - | let WavesId = base58'' |
---|
| 3 | + | let WavesId = base58'WAVES' |
---|
5 | 4 | | match tx { |
---|
6 | 5 | | case t: ExchangeTransaction => |
---|
7 | | - | if (if (if ((t.sellOrder.sender == namiAddress)) |
---|
| 6 | + | if ((t.sellOrder.assetPair.priceAsset == WavesId)) |
---|
8 | 7 | | then true |
---|
9 | | - | else (t.buyOrder.sender == namiAddress)) |
---|
10 | | - | then true |
---|
11 | | - | else (t.sellOrder.sender == t.buyOrder.sender)) |
---|
12 | | - | then if ((t.price >= 10)) |
---|
13 | | - | then (t.sellOrder.assetPair.priceAsset == WavesId) |
---|
14 | | - | else false |
---|
15 | | - | else false |
---|
| 8 | + | else (t.sellOrder.assetPair.amountAsset == WavesId) |
---|
16 | 9 | | case _ => |
---|
17 | 10 | | true |
---|
18 | 11 | | } |
---|