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