tx · JmbM4ashFd6u9hBU1DnRMUBM81BZb3Sk9RW5siHMFSY
3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg: -1.00400000 Waves
2019.08.04 19:25 [616376] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOP
{
"type": 15,
"id": "JmbM4ashFd6u9hBU1DnRMUBM81BZb3Sk9RW5siHMFSY",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564935929773,
"version": 1,
"sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg",
"senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7",
"proofs": [
"4ox7LYKxyyxS7XHatpk5LDLGpYqKMPYGzwbDgNUDTDJ6kip4urYnR7EeHrbiQ8x51vgh3ZWuZWCoHCSN8Y6M17vF"
],
"assetId": "7oBrNTupD7DbgdpcmmbgPnFwPThRTBW88MCJvushcSRc",
"script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwBAAAAAtwcmVzZWxsVGltZQkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAAEZXhUeAAAAAl0aW1lc3RhbXAEAAAAE3NlbmRlck9yZGVyVG9Jc3N1ZXIDCQEAAAACIT0AAAACCAgFAAAABGV4VHgAAAAJc2VsbE9yZGVyAAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MJAAAAAAAAAggIBQAAAARleFR4AAAACGJ1eU9yZGVyAAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MHBAAAAA9pc1RpbWVTZWxsT2xkZXIJAABmAAAAAggIBQAAAARleFR4AAAACXNlbGxPcmRlcgAAAAl0aW1lc3RhbXAICAUAAAAEZXhUeAAAAAhidXlPcmRlcgAAAAl0aW1lc3RhbXADAwMFAAAAE3NlbmRlck9yZGVyVG9Jc3N1ZXIFAAAAD2lzVGltZVNlbGxPbGRlcgcFAAAAC3ByZXNlbGxUaW1lBwYGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAABdAAAAAl0aW1lc3RhbXADCQAAAAAAAAIIBQAAAAF0AAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MGCQAAAAAAAAIIBQAAAAF0AAAACXJlY2lwaWVudAUAAAAOY29tcGFueUFkZGVyc3MGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJzYwUAAAAHJG1hdGNoMAkAAAAAAAACCAUAAAACc2MAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcwdagFq7",
"chainId": 84,
"height": 616376,
"spentComplexity": 0
}
View: original | compacted
Prev: HF52LdFWfR55LCWAS5DfuQmoGjUnc44SKprEx2fcrtNM
Next: none
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 senderOrderNotIssuer = if ((exTx.sellOrder.sender != companyAdderss)) |
---|
8 | | - | then (exTx.sellOrder.sender == exTx.buyOrder.sender) |
---|
| 7 | + | let senderOrderToIssuer = if ((exTx.sellOrder.sender != companyAdderss)) |
---|
| 8 | + | then (exTx.buyOrder.sender == companyAdderss) |
---|
9 | 9 | | else false |
---|
10 | | - | let isTimeSellOlder = (exTx.buyOrder.timestamp > exTx.sellOrder.timestamp) |
---|
11 | | - | if (if (if (senderOrderNotIssuer) |
---|
| 10 | + | let isTimeSellOlder = (exTx.sellOrder.timestamp > exTx.buyOrder.timestamp) |
---|
| 11 | + | if (if (if (senderOrderToIssuer) |
---|
12 | 12 | | then isTimeSellOlder |
---|
13 | 13 | | else false) |
---|
14 | 14 | | then presellTime |
---|
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 senderOrderNotIssuer = if ((exTx.sellOrder.sender != companyAdderss)) |
---|
8 | | - | then (exTx.sellOrder.sender == exTx.buyOrder.sender) |
---|
| 7 | + | let senderOrderToIssuer = if ((exTx.sellOrder.sender != companyAdderss)) |
---|
| 8 | + | then (exTx.buyOrder.sender == companyAdderss) |
---|
9 | 9 | | else false |
---|
10 | | - | let isTimeSellOlder = (exTx.buyOrder.timestamp > exTx.sellOrder.timestamp) |
---|
11 | | - | if (if (if (senderOrderNotIssuer) |
---|
| 10 | + | let isTimeSellOlder = (exTx.sellOrder.timestamp > exTx.buyOrder.timestamp) |
---|
| 11 | + | if (if (if (senderOrderToIssuer) |
---|
12 | 12 | | then isTimeSellOlder |
---|
13 | 13 | | else false) |
---|
14 | 14 | | then presellTime |
---|
15 | 15 | | else false) |
---|
16 | 16 | | then true |
---|
17 | 17 | | else true |
---|
18 | 18 | | case t: TransferTransaction => |
---|
19 | 19 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
20 | 20 | | then if ((t.sender == companyAdderss)) |
---|
21 | 21 | | then true |
---|
22 | 22 | | else (t.recipient == companyAdderss) |
---|
23 | 23 | | else true |
---|
24 | 24 | | case sc: SetAssetScriptTransaction => |
---|
25 | 25 | | (sc.sender == companyAdderss) |
---|
26 | 26 | | case _ => |
---|
27 | 27 | | false |
---|
28 | 28 | | } |
---|