tx · 4SJtgiTdyQ3u2Pmy2Zw4oLp39rUHEmPXz9X1dAbF1r3J 3N4QdQY4gYb5PmRdvfueVmye49RCmn5GAEy: -1.00000000 Waves 2019.02.17 23:40 [499642] smart asset 3N4QdQY4gYb5PmRdvfueVmye49RCmn5GAEy > SELF 0.00000000 Newwave3
{ "type": 15, "id": "4SJtgiTdyQ3u2Pmy2Zw4oLp39rUHEmPXz9X1dAbF1r3J", "fee": 100000000, "feeAssetId": null, "timestamp": 1550436079810, "version": 1, "sender": "3N4QdQY4gYb5PmRdvfueVmye49RCmn5GAEy", "senderPublicKey": "siVpxLTmbQMPohN8n2LEQwuA49kNBW4D5NoiUgyg5o1", "proofs": [ "2ZRHZs97tTfr5k37ZQkbUSEwafhvxWFLmnaR5KtueURjeoonqxWYCgGUykvYYtn8MqenuwE6HzfrvbPaSBrhKs3N" ], "assetId": "BbaVsbUi85LMaVGzAgaWFJbbqZMEhTWgsRkHXJhkqFu6", "script": "base64:AQQAAAATbWluaW11bVdhdmVzQmFsYW5jZQAAAAAAO5rKAAQAAAAQbW92ZVRpbWVJbkJsb2NrcwAAAAAAAAATiAQAAAAQbWluaW1hbEZlZVRvTW92ZQAAAAAAAJiWgAQAAAAQbWluaW1hbEZlZVRvQnVybgAAAAAAAvrwgAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAARidXJuBQAAAAckbWF0Y2gwAwkAAAAAAAACCAUAAAAEYnVybgAAAAZzZW5kZXIJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNONFFkUVk0Z1liNVBtUmR2ZnVlVm15ZTQ5UkNtbjVHQUV5CQAAAgAAAAECAAAADHBheSA1IHRva2VucwYDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAAEbWFzcwUAAAAHJG1hdGNoMAQAAAALdHJhbnNhY3Rpb24JAAPoAAAAAQkBAAAAB2V4dHJhY3QAAAABCAUAAAAEbWFzcwAAAAdhc3NldElkBAAAAAckbWF0Y2gxBQAAAAt0cmFuc2FjdGlvbgMJAAABAAAAAgUAAAAHJG1hdGNoMQIAAAAQSXNzdWVUcmFuc2FjdGlvbgQAAAAHaXNzdWVUeAUAAAAHJG1hdGNoMQkAAAAAAAACCAUAAAAEbWFzcwAAAA9zZW5kZXJQdWJsaWNLZXkIBQAAAAdpc3N1ZVR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAABFCYWQgaXNzdWUgdHggdHlwZQkAAAIAAAABAgAAACBZb3Ugb25seSBjYW4gdHJhbnNmZXIgdGhpcyB0b2tlbm4cuRo=", "chainId": 84, "height": 499642, "spentComplexity": 0 } View: original | compacted Prev: none Next: C1gK5nQGNCZEtpBaAYRHm5MYQ4vLKgZ8rPBjpjupva1b Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 1 #-} | |
2 | + | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | + | let minimumWavesBalance = 1000000000 | |
4 | + | let moveTimeInBlocks = 5000 | |
5 | + | let minimalFeeToMove = 10000000 | |
6 | + | let minimalFeeToBurn = 50000000 | |
7 | + | match tx { | |
8 | + | case t: ExchangeTransaction => | |
9 | + | true | |
10 | + | case burn: ExchangeTransaction => | |
11 | + | if ((burn.sender == addressFromString("3N4QdQY4gYb5PmRdvfueVmye49RCmn5GAEy"))) | |
12 | + | then throw("pay 5 tokens") | |
13 | + | else true | |
14 | + | case mass: SetAssetScriptTransaction|MassTransferTransaction => | |
15 | + | let transaction = transactionById(extract(mass.assetId)) | |
16 | + | match transaction { | |
17 | + | case issueTx: IssueTransaction => | |
18 | + | (mass.senderPublicKey == issueTx.senderPublicKey) | |
19 | + | case _ => | |
20 | + | throw("Bad issue tx type") | |
21 | + | } | |
22 | + | case _ => | |
23 | + | throw("You only can transfer this token") | |
24 | + | } |
github/deemru/w8io/169f3d6 65.02 ms ◑