tx · CWMp1PvETGybTXMFkK6TeFb8xJA88GnHnYyZFuKJTD4r
3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg: -1.00400000 Waves
2019.08.04 14:07 [616058] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOP
{
"type": 15,
"id": "CWMp1PvETGybTXMFkK6TeFb8xJA88GnHnYyZFuKJTD4r",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564916855405,
"version": 1,
"sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg",
"senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7",
"proofs": [
"jJnF2m15mDY1fQHn6VeFQG7yEK5dD5NgZ7YUx9d9JsmHGhNUgCFQKp8r2G2FtDZPqig6PLxDrzbTf88DLmkFf5Z"
],
"assetId": "7oBrNTupD7DbgdpcmmbgPnFwPThRTBW88MCJvushcSRc",
"script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAAEZXhUeAAAAAl0aW1lc3RhbXAJAAAAAAAAAggIBQAAAARleFR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAMJAABmAAAAAgkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAADmNvbXBhbnlBZGRlcnNzAgAAAA5lbmRQcmVzZWxsVGltZQgFAAAAAXQAAAAJdGltZXN0YW1wAwkAAAAAAAACCAUAAAABdAAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgkAAAAAAAACCAUAAAABdAAAAAlyZWNpcGllbnQFAAAADmNvbXBhbnlBZGRlcnNzBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACc2MFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAnNjAAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MHScUKdA==",
"chainId": 84,
"height": 616058,
"spentComplexity": 0
}
View: original | compacted
Prev: 846Wkj5x3UDad8aCeSMwrtnfWk1kpQoNAT5zsEatitvj
Next: FZE2X5EZsBqxipfpbxtKvVUTQByyknU8836TeVzurnJW
Diff:
Old | New | | Differences |
---|
3 | 3 | | let companyAdderss = Address(base58'3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg') |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case exTx: ExchangeTransaction => |
---|
6 | | - | if (if ((exTx.sellOrder.sender != companyAdderss)) |
---|
7 | | - | then (extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp) |
---|
8 | | - | else false) |
---|
9 | | - | then false |
---|
| 6 | + | if ((extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)) |
---|
| 7 | + | then (exTx.sellOrder.sender == companyAdderss) |
---|
10 | 8 | | else true |
---|
11 | 9 | | case t: TransferTransaction => |
---|
12 | 10 | | 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 | | - | if (if ((exTx.sellOrder.sender != companyAdderss)) |
---|
7 | | - | then (extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp) |
---|
8 | | - | else false) |
---|
9 | | - | then false |
---|
| 6 | + | if ((extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)) |
---|
| 7 | + | then (exTx.sellOrder.sender == companyAdderss) |
---|
10 | 8 | | else true |
---|
11 | 9 | | case t: TransferTransaction => |
---|
12 | 10 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
13 | 11 | | then if ((t.sender == companyAdderss)) |
---|
14 | 12 | | then true |
---|
15 | 13 | | else (t.recipient == companyAdderss) |
---|
16 | 14 | | else true |
---|
17 | 15 | | case sc: SetAssetScriptTransaction => |
---|
18 | 16 | | (sc.sender == companyAdderss) |
---|
19 | 17 | | case _ => |
---|
20 | 18 | | false |
---|
21 | 19 | | } |
---|