tx · 2dnwwbV3XHuPMXKcXuoAF7Lydrrd8k6wofzZGDgSoZup
3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg: -1.00400000 Waves
2019.08.04 14:57 [616106] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOP
{
"type": 15,
"id": "2dnwwbV3XHuPMXKcXuoAF7Lydrrd8k6wofzZGDgSoZup",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564919855582,
"version": 1,
"sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg",
"senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7",
"proofs": [
"4r6wMrhrnFAxdQKPLqmafrSLBPrzwzreKSYuwhJZF8JAGu7sa13UCfUzciUsugzB7xVdjWkASBT9bAgDdDffjmRz"
],
"assetId": "7oBrNTupD7DbgdpcmmbgPnFwPThRTBW88MCJvushcSRc",
"script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAAEZXhUeAAAAAl0aW1lc3RhbXAJAQAAAAIhPQAAAAIICAUAAAAEZXhUeAAAAAhidXlPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAMJAABmAAAAAgkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAADmNvbXBhbnlBZGRlcnNzAgAAAA5lbmRQcmVzZWxsVGltZQgFAAAAAXQAAAAJdGltZXN0YW1wAwkAAAAAAAACCAUAAAABdAAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgkAAAAAAAACCAUAAAABdAAAAAlyZWNpcGllbnQFAAAADmNvbXBhbnlBZGRlcnNzBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACc2MFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAnNjAAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MHDuVALA==",
"chainId": 84,
"height": 616106,
"spentComplexity": 0
}
View: original | compacted
Prev: 8DA1q67bi6g998scqJB1SqKXCerCnYM7bpiEzqvbsJSc
Next: 4RBERXKvTf4Paj6bkgcCnpizQx7EVftZQ7PmEFvQx7cG
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 ((exTx.buyOrder.sender == companyAdderss)) |
---|
8 | | - | then true |
---|
9 | | - | else if ((exTx.buyOrder.sender != companyAdderss)) |
---|
10 | | - | then (exTx.sellOrder.sender == companyAdderss) |
---|
11 | | - | else false |
---|
| 7 | + | then (exTx.buyOrder.sender != companyAdderss) |
---|
12 | 8 | | else true |
---|
13 | 9 | | case t: TransferTransaction => |
---|
14 | 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 | 6 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)) |
---|
7 | | - | then if ((exTx.buyOrder.sender == companyAdderss)) |
---|
8 | | - | then true |
---|
9 | | - | else if ((exTx.buyOrder.sender != companyAdderss)) |
---|
10 | | - | then (exTx.sellOrder.sender == companyAdderss) |
---|
11 | | - | else false |
---|
| 7 | + | then (exTx.buyOrder.sender != companyAdderss) |
---|
12 | 8 | | else true |
---|
13 | 9 | | case t: TransferTransaction => |
---|
14 | 10 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
15 | 11 | | then if ((t.sender == companyAdderss)) |
---|
16 | 12 | | then true |
---|
17 | 13 | | else (t.recipient == companyAdderss) |
---|
18 | 14 | | else true |
---|
19 | 15 | | case sc: SetAssetScriptTransaction => |
---|
20 | 16 | | (sc.sender == companyAdderss) |
---|
21 | 17 | | case _ => |
---|
22 | 18 | | false |
---|
23 | 19 | | } |
---|