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