tx · Dy9whqHgWBe8Fs2pr7uNj2KtUGJCf5F5wX7T1xExTzjw
3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg: -1.00400000 Waves
2019.08.02 16:40 [613308] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOPV1D32J
{
"type": 15,
"id": "Dy9whqHgWBe8Fs2pr7uNj2KtUGJCf5F5wX7T1xExTzjw",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564753216334,
"version": 1,
"sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg",
"senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7",
"proofs": [
"3FqcK1cfsXqJWhUyBbhJarVrq9mBAskmeBjDaYFsM6stdAGCgfDUqvZ3KgoN7pesK6oRz9w1JGtaL1scmqXimxjY"
],
"assetId": "5DK2CesYsFRXzMVbCCMFSRKCME37d4TSyWxiaEr3icJ1",
"script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAAEZXhUeAAAAAl0aW1lc3RhbXADAwkAAAAAAAACCAgFAAAABGV4VHgAAAAJc2VsbE9yZGVyAAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MGCQAAAAAAAAIICAUAAAAEZXhUeAAAAAhidXlPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgkBAAAAAiE9AAAAAggIBQAAAARleFR4AAAACGJ1eU9yZGVyAAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAABdAAAAAl0aW1lc3RhbXADCQAAAAAAAAIIBQAAAAF0AAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MGCQAAAAAAAAIIBQAAAAF0AAAACXJlY2lwaWVudAUAAAAOY29tcGFueUFkZGVyc3MGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJzYwUAAAAHJG1hdGNoMAkAAAAAAAACCAUAAAACc2MAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcwe3vHKs",
"chainId": 84,
"height": 613308,
"spentComplexity": 0
}
View: original | compacted
Prev: 24Y8G3Q74CTX2bRMiNfSKzAcWMtuT28vqGMYWhoKXpEc
Next: none
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.sellOrder.sender == companyAdderss)) |
---|
8 | | - | then (exTx.buyOrder.sender != companyAdderss) |
---|
9 | | - | else false |
---|
| 7 | + | then if (if ((exTx.sellOrder.sender == companyAdderss)) |
---|
| 8 | + | then true |
---|
| 9 | + | else (exTx.buyOrder.sender == companyAdderss)) |
---|
| 10 | + | then true |
---|
| 11 | + | else (exTx.buyOrder.sender != companyAdderss) |
---|
10 | 12 | | else true |
---|
11 | 13 | | case t: TransferTransaction => |
---|
12 | 14 | | 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.sellOrder.sender == companyAdderss)) |
---|
8 | | - | then (exTx.buyOrder.sender != companyAdderss) |
---|
9 | | - | else false |
---|
| 7 | + | then if (if ((exTx.sellOrder.sender == companyAdderss)) |
---|
| 8 | + | then true |
---|
| 9 | + | else (exTx.buyOrder.sender == companyAdderss)) |
---|
| 10 | + | then true |
---|
| 11 | + | else (exTx.buyOrder.sender != companyAdderss) |
---|
10 | 12 | | else true |
---|
11 | 13 | | case t: TransferTransaction => |
---|
12 | 14 | | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
13 | 15 | | then if ((t.sender == companyAdderss)) |
---|
14 | 16 | | then true |
---|
15 | 17 | | else (t.recipient == companyAdderss) |
---|
16 | 18 | | else true |
---|
17 | 19 | | case sc: SetAssetScriptTransaction => |
---|
18 | 20 | | (sc.sender == companyAdderss) |
---|
19 | 21 | | case _ => |
---|
20 | 22 | | false |
---|
21 | 23 | | } |
---|