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