tx · 5joZGL7hyKCs6XcviemGHGgZrpdPnpt6DFh44jvyLHgj
3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg: -1.00400000 Waves
2019.08.04 14:34 [616084] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOP
{
"type": 15,
"id": "5joZGL7hyKCs6XcviemGHGgZrpdPnpt6DFh44jvyLHgj",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564918451839,
"version": 1,
"sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg",
"senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7",
"proofs": [
"4wZNaqrPeiWgoWopYhghBVGK4k8VR7ViRPAbrLX3gyDmZURH7ovvQdFB1Tzpwnrmw8Dw4YYeffb7QpsZgG5QpyvZ"
],
"assetId": "7oBrNTupD7DbgdpcmmbgPnFwPThRTBW88MCJvushcSRc",
"script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAAEZXhUeAAAAAl0aW1lc3RhbXADAwkAAAAAAAACCAgFAAAABGV4VHgAAAAIYnV5T3JkZXIAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcwYJAQAAAAIhPQAAAAIICAUAAAAEZXhUeAAAAAhidXlPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgkAAAAAAAACCAgFAAAABGV4VHgAAAAJc2VsbE9yZGVyAAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAABdAAAAAl0aW1lc3RhbXADCQAAAAAAAAIIBQAAAAF0AAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MGCQAAAAAAAAIIBQAAAAF0AAAACXJlY2lwaWVudAUAAAAOY29tcGFueUFkZGVyc3MGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJzYwUAAAAHJG1hdGNoMAkAAAAAAAACCAUAAAACc2MAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcwce6UYM",
"chainId": 84,
"height": 616084,
"spentComplexity": 0
}
View: original | compacted
Prev: 5aVBJppjBWXx7AdZQUKhzEBC24tj6daAN9fLMgvCp2Dy
Next: BZcUPbniLbSugMNVN5Rk9HjmNpwoWDDdT6Q8WJx5BM7o
Diff:
Old | New | | Differences |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case exTx: ExchangeTransaction => |
---|
6 | 6 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)) |
---|
7 | | - | then (exTx.buyOrder.sender == companyAdderss) |
---|
| 7 | + | then if (if ((exTx.buyOrder.sender == companyAdderss)) |
---|
| 8 | + | then true |
---|
| 9 | + | else (exTx.buyOrder.sender != companyAdderss)) |
---|
| 10 | + | then true |
---|
| 11 | + | else (exTx.sellOrder.sender == companyAdderss) |
---|
8 | 12 | | else true |
---|
9 | 13 | | case t: TransferTransaction => |
---|
10 | 14 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let companyAdderss = Address(base58'3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg') |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case exTx: ExchangeTransaction => |
---|
6 | 6 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)) |
---|
7 | | - | then (exTx.buyOrder.sender == companyAdderss) |
---|
| 7 | + | then if (if ((exTx.buyOrder.sender == companyAdderss)) |
---|
| 8 | + | then true |
---|
| 9 | + | else (exTx.buyOrder.sender != companyAdderss)) |
---|
| 10 | + | then true |
---|
| 11 | + | else (exTx.sellOrder.sender == companyAdderss) |
---|
8 | 12 | | else true |
---|
9 | 13 | | case t: TransferTransaction => |
---|
10 | 14 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
11 | 15 | | then if ((t.sender == companyAdderss)) |
---|
12 | 16 | | then true |
---|
13 | 17 | | else (t.recipient == companyAdderss) |
---|
14 | 18 | | else true |
---|
15 | 19 | | case sc: SetAssetScriptTransaction => |
---|
16 | 20 | | (sc.sender == companyAdderss) |
---|
17 | 21 | | case _ => |
---|
18 | 22 | | false |
---|
19 | 23 | | } |
---|