tx · 7VFiyH5cvSuGTqni2QLJPn4NdkFo6t6uoB6jjChVB2aw
3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg: -1.00400000 Waves
2019.08.02 19:10 [613448] smart asset 3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg > SELF 0.00000000 OZOTOP
{
"type": 15,
"id": "7VFiyH5cvSuGTqni2QLJPn4NdkFo6t6uoB6jjChVB2aw",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1564762193142,
"version": 1,
"sender": "3N9fzexZxi7HrPcfizpvpFcaAnvpyuuMKPg",
"senderPublicKey": "BJB5QS4iQna1z8idKb5QQ5cACUmNgxzHc81Y7AW6ZZY7",
"proofs": [
"1fD1gBis8vczcLcF9iGxV2iSSGFd3WR3cSoRug3dXKGXZHCdF2GNATKpJKjKwkLDdy6rAEir6yrS6exA28u8MYz"
],
"assetId": "7oBrNTupD7DbgdpcmmbgPnFwPThRTBW88MCJvushcSRc",
"script": "base64:AwQAAAAOY29tcGFueUFkZGVyc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTYuGsQ23svLn7f1jEHvOAXUrYrcXeFFwsEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARleFR4BQAAAAckbWF0Y2gwAwkBAAAAAiE9AAAAAggIBQAAAARleFR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBwYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAZgAAAAIJAQAAAAdleHRyYWN0AAAAAQkABBoAAAACBQAAAA5jb21wYW55QWRkZXJzcwIAAAAOZW5kUHJlc2VsbFRpbWUIBQAAAAF0AAAACXRpbWVzdGFtcAMJAAAAAAAAAggFAAAAAXQAAAAGc2VuZGVyBQAAAA5jb21wYW55QWRkZXJzcwYJAAAAAAAAAggFAAAAAXQAAAAJcmVjaXBpZW50BQAAAA5jb21wYW55QWRkZXJzcwYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnNjBQAAAAckbWF0Y2gwCQAAAAAAAAIIBQAAAAJzYwAAAAZzZW5kZXIFAAAADmNvbXBhbnlBZGRlcnNzBzvVzXw=",
"chainId": 84,
"height": 613448,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: HQXTn6Zf5pRyMyQp5KoDXgSecPXiLL6KRcf1vaXUPk5a
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 ((exTx.sellOrder.sender != companyAdderss)) |
---|
| 7 | + | then false |
---|
| 8 | + | else true |
---|
| 9 | + | case t: TransferTransaction => |
---|
| 10 | + | if ((extract(getInteger(companyAdderss, "endPresellTime")) > t.timestamp)) |
---|
| 11 | + | then if ((t.sender == companyAdderss)) |
---|
| 12 | + | then true |
---|
| 13 | + | else (t.recipient == companyAdderss) |
---|
| 14 | + | else true |
---|
| 15 | + | case sc: SetAssetScriptTransaction => |
---|
| 16 | + | (sc.sender == companyAdderss) |
---|
| 17 | + | case _ => |
---|
| 18 | + | false |
---|
| 19 | + | } |
---|