tx · G1Zgpyg5MdHKwfXCHBmh8t3d7KD9KiVPr4uy1W9gUjMH 3Mz8qvbtb6oUXnPhnRmGde2cNjsuELt8o2t: -0.01400000 Waves 2021.04.05 22:52 [1469591] smart account 3Mz8qvbtb6oUXnPhnRmGde2cNjsuELt8o2t > SELF 0.00000000 Waves
{ "type": 13, "id": "G1Zgpyg5MdHKwfXCHBmh8t3d7KD9KiVPr4uy1W9gUjMH", "fee": 1400000, "feeAssetId": null, "timestamp": 1617652431519, "version": 2, "chainId": 84, "sender": "3Mz8qvbtb6oUXnPhnRmGde2cNjsuELt8o2t", "senderPublicKey": "9oP5kRdZqNEKWSXGvAMYm4CEB5VyhYJ4RD9UG31afth5", "proofs": [ "2GpBTupzyCA1vicHfc7LQy4jcMqJjpuVG6fBmmLo3D9LF1Sr6Tk18nbFhycXc5JpYBq8DHmMf9CConqJRZJkBYkM" ], "script": "base64:AAIEAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAAdSZUlzc3VlAAAAAAQAAAADcG10CQEAAAAFdmFsdWUAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAAAdhc3NldGlkAQAAACAAE2lkPwXnOpp+gUYa4lAeDtj/aE4nsW8Vmh5AIJBTPAMJAQAAAAlpc0RlZmluZWQAAAABCAUAAAADcG10AAAAB2Fzc2V0SWQJAAACAAAAAQIAAAAxSW5jb3JyZWN0IGFzc2V0IGF0dGFjaGVkLCBwbGVhc2Ugc2VuZCBXQVZFUyBvbmx5LgkABEwAAAACCQEAAAAHUmVpc3N1ZQAAAAMFAAAAB2Fzc2V0aWQIBQAAAANwbXQAAAAGYW1vdW50BgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIIBQAAAANwbXQAAAAGYW1vdW50BQAAAAdhc3NldGlkBQAAAANuaWwAAAABaQEAAAAEQnVybgAAAAAEAAAAA3BtdAkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAHYXNzZXRpZAEAAAAgABNpZD8F5zqafoFGGuJQHg7Y/2hOJ7FvFZoeQCCQUzwDCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAA3BtdAAAAAdhc3NldElkCQAAAgAAAAECAAAAMUluY29ycmVjdCBhc3NldCBhdHRhY2hlZCwgcGxlYXNlIHNlbmQgV0FWRVMgb25seS4JAARMAAAAAgkBAAAABEJ1cm4AAAACBQAAAAdhc3NldGlkCAUAAAADcG10AAAABmFtb3VudAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIIBQAAAANwbXQAAAAGYW1vdW50BQAAAAR1bml0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAGBwPmEdU=", "height": 1469591, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(a) | |
7 | + | func ReIssue () = { | |
8 | + | let b = value(a.payments[0]) | |
9 | + | let c = base58'1JAjTWNBZFmty11cTSxtGPWyZfaHsU3vDHJQP1ZJuQF' | |
10 | + | if (isDefined(b.assetId)) | |
11 | + | then throw("Incorrect asset attached, please send WAVES only.") | |
12 | + | else [Reissue(c, b.amount, true), ScriptTransfer(a.caller, b.amount, c)] | |
13 | + | } | |
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | @Callable(a) | |
18 | + | func Burn () = { | |
19 | + | let b = value(a.payments[0]) | |
20 | + | let c = base58'1JAjTWNBZFmty11cTSxtGPWyZfaHsU3vDHJQP1ZJuQF' | |
21 | + | if (isDefined(b.assetId)) | |
22 | + | then throw("Incorrect asset attached, please send WAVES only.") | |
23 | + | else [Burn(c, b.amount), ScriptTransfer(a.caller, b.amount, unit)] | |
24 | + | } | |
25 | + | ||
26 | + | ||
27 | + | @Verifier(d) | |
28 | + | func e () = { | |
29 | + | let f = d | |
30 | + | if ($isInstanceOf(f, "InvokeScriptTransaction")) | |
31 | + | then { | |
32 | + | let g = f | |
33 | + | true | |
34 | + | } | |
35 | + | else false | |
36 | + | } | |
37 | + |
github/deemru/w8io/169f3d6 13.11 ms ◑