tx · AeVXmz2Kube6iJgZ76LR6j74gsHCzPQK5QuzzCf7boNM
3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg: -1.00400000 Waves
2019.08.02 16:20 [613286] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOPV1D32J
{
"type": 15,
"id": "AeVXmz2Kube6iJgZ76LR6j74gsHCzPQK5QuzzCf7boNM",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564752038286,
"version": 1,
"sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg",
"senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7",
"proofs": [
"616oqS3LFRz21AGW7hs4wtmsY5E3nDG7iufbm9P37a4fSwe2GQstssbKiA49MR8JiTM5rxjRAQUPH49QgNzMNBhh"
],
"assetId": "5DK2CesYsFRXzMVbCCMFSRKCME37d4TSyWxiaEr3icJ1",
"script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwAwkAAGYAAAACCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAOY29tcGFueUFkZGVyc3MCAAAADmVuZFByZXNlbGxUaW1lCAUAAAAEZXhUeAAAAAl0aW1lc3RhbXADCQAAAAAAAAIICAUAAAAEZXhUeAAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcwYJAQAAAAIhPQAAAAIICAUAAAAEZXhUeAAAAAhidXlPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAMJAABmAAAAAgkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAADmNvbXBhbnlBZGRlcnNzAgAAAA5lbmRQcmVzZWxsVGltZQgFAAAAAXQAAAAJdGltZXN0YW1wAwkAAAAAAAACCAUAAAABdAAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBgkAAAAAAAACCAUAAAABdAAAAAlyZWNpcGllbnQFAAAADmNvbXBhbnlBZGRlcnNzBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACc2MFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAnNjAAAABnNlbmRlcgUAAAAOY29tcGFueUFkZGVyc3MHyGU1+Q==",
"chainId": 84,
"height": 613286,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 24Y8G3Q74CTX2bRMiNfSKzAcWMtuT28vqGMYWhoKXpEc
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let companyAdderss = Address(base58'3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg') |
---|
| 4 | + | match tx { |
---|
| 5 | + | case exTx: ExchangeTransaction => |
---|
| 6 | + | if ((extract(getInteger(companyAdderss, "endPresellTime")) > exTx.timestamp)) |
---|
| 7 | + | then if ((exTx.sellOrder.sender == companyAdderss)) |
---|
| 8 | + | then true |
---|
| 9 | + | else (exTx.buyOrder.sender != companyAdderss) |
---|
| 10 | + | else true |
---|
| 11 | + | case t: TransferTransaction => |
---|
| 12 | + | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
| 13 | + | then if ((t.sender == companyAdderss)) |
---|
| 14 | + | then true |
---|
| 15 | + | else (t.recipient == companyAdderss) |
---|
| 16 | + | else true |
---|
| 17 | + | case sc: SetAssetScriptTransaction => |
---|
| 18 | + | (sc.sender == companyAdderss) |
---|
| 19 | + | case _ => |
---|
| 20 | + | false |
---|
| 21 | + | } |
---|