tx · BZcUPbniLbSugMNVN5Rk9HjmNpwoWDDdT6Q8WJx5BM7o
3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg: -1.00400000 Waves
2019.08.04 14:40 [616090] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOP
{
"type": 15,
"id": "BZcUPbniLbSugMNVN5Rk9HjmNpwoWDDdT6Q8WJx5BM7o",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564918886163,
"version": 1,
"sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg",
"senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7",
"proofs": [
"4916rRG3ifTnq6LwW5nUV2g659yvTUMT4qNL1FUKLBDZZXeNEXQdibxvWDYezDbp6pzn5qmUxSrNNxDG13STW8i1"
],
"assetId": "7oBrNTupD7DbgdpcmmbgPnFwPThRTBW88MCJvushcSRc",
"script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAAEZXhUeAAAAAl0aW1lc3RhbXADCQAAAAAAAAIICAUAAAAEZXhUeAAAAAhidXlPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgMJAQAAAAIhPQAAAAIICAUAAAAEZXhUeAAAAAhidXlPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzCQAAAAAAAAIICAUAAAAEZXhUeAAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcwcGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAABdAAAAAl0aW1lc3RhbXADCQAAAAAAAAIIBQAAAAF0AAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MGCQAAAAAAAAIIBQAAAAF0AAAACXJlY2lwaWVudAUAAAAOY29tcGFueUFkZGVyc3MGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJzYwUAAAAHJG1hdGNoMAkAAAAAAAACCAUAAAACc2MAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcweC/uXK",
"chainId": 84,
"height": 616090,
"spentComplexity": 0
}
View: original | compacted
Prev: 5joZGL7hyKCs6XcviemGHGgZrpdPnpt6DFh44jvyLHgj
Next: 8DA1q67bi6g998scqJB1SqKXCerCnYM7bpiEzqvbsJSc
Diff:
Old | New | | Differences |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case exTx: ExchangeTransaction => |
---|
6 | 6 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)) |
---|
7 | | - | then if (if ((exTx.buyOrder.sender == companyAdderss)) |
---|
| 7 | + | then if ((exTx.buyOrder.sender == companyAdderss)) |
---|
8 | 8 | | then true |
---|
9 | | - | else (exTx.buyOrder.sender != companyAdderss)) |
---|
10 | | - | then true |
---|
11 | | - | else (exTx.sellOrder.sender == companyAdderss) |
---|
| 9 | + | else if ((exTx.buyOrder.sender != companyAdderss)) |
---|
| 10 | + | then (exTx.sellOrder.sender == companyAdderss) |
---|
| 11 | + | else false |
---|
12 | 12 | | else true |
---|
13 | 13 | | case t: TransferTransaction => |
---|
14 | 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 if (if ((exTx.buyOrder.sender == companyAdderss)) |
---|
| 7 | + | then if ((exTx.buyOrder.sender == companyAdderss)) |
---|
8 | 8 | | then true |
---|
9 | | - | else (exTx.buyOrder.sender != companyAdderss)) |
---|
10 | | - | then true |
---|
11 | | - | else (exTx.sellOrder.sender == companyAdderss) |
---|
| 9 | + | else if ((exTx.buyOrder.sender != companyAdderss)) |
---|
| 10 | + | then (exTx.sellOrder.sender == companyAdderss) |
---|
| 11 | + | else false |
---|
12 | 12 | | else true |
---|
13 | 13 | | case t: TransferTransaction => |
---|
14 | 14 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
15 | 15 | | then if ((t.sender == companyAdderss)) |
---|
16 | 16 | | then true |
---|
17 | 17 | | else (t.recipient == companyAdderss) |
---|
18 | 18 | | else true |
---|
19 | 19 | | case sc: SetAssetScriptTransaction => |
---|
20 | 20 | | (sc.sender == companyAdderss) |
---|
21 | 21 | | case _ => |
---|
22 | 22 | | false |
---|
23 | 23 | | } |
---|