tx · 6mgjn1yHVVJJYx2Q7jFU2Md1TDmiVvwkJdc63yupTTo8 3Mzy7cM9u677dxmVUZyJBxrKTvm4FXkZ2NF: -0.00100000 Waves 2022.05.31 03:47 [2075137] smart account 3Mzy7cM9u677dxmVUZyJBxrKTvm4FXkZ2NF > SELF 0.00000000 Waves
{ "type": 13, "id": "6mgjn1yHVVJJYx2Q7jFU2Md1TDmiVvwkJdc63yupTTo8", "fee": 100000, "feeAssetId": null, "timestamp": 1653958065784, "version": 2, "chainId": 84, "sender": "3Mzy7cM9u677dxmVUZyJBxrKTvm4FXkZ2NF", "senderPublicKey": "9TWnAup6PAWpMd7xLW3FBux4tirNE4xQrtXgiE3wtkJn", "proofs": [ "4Tyk7AmeiRtqFvJwjswJ64wGzmuxVVV6ESycQ9a3E9o6PTfGsCAnRcbT3SxgBxvyWvVxqsVEBtyrsBx7Pmi7L29M" ], "script": "base64:AAIFAAAAAAAAAAsIAhIHCgUBAgQIHwAAAAAAAAABAAAAAWkBAAAABGNhbGwAAAAFAAAAAWEAAAABYgAAAAFjAAAAAWQAAAABZgQAAAAEaW50VgQAAAAHJG1hdGNoMAkAAZEAAAACBQAAAAFmAAAAAAAAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAXQFAAAAByRtYXRjaDAFAAAAAXQJAAACAAAAAQIAAAAOd3JvbmcgYXJnIHR5cGUEAAAABWJ5dGVWBAAAAAckbWF0Y2gwCQABkQAAAAIFAAAAAWYAAAAAAAAAAAEDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAXQFAAAAByRtYXRjaDAFAAAAAXQJAAACAAAAAQIAAAAOd3JvbmcgYXJnIHR5cGUEAAAABWJvb2xWBAAAAAckbWF0Y2gwCQABkQAAAAIFAAAAAWYAAAAAAAAAAAIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAXQFAAAAByRtYXRjaDAFAAAAAXQJAAACAAAAAQIAAAAOd3JvbmcgYXJnIHR5cGUEAAAABHN0clYEAAAAByRtYXRjaDAJAAGRAAAAAgUAAAABZgAAAAAAAAAAAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAF0BQAAAAckbWF0Y2gwBQAAAAF0CQAAAgAAAAECAAAADndyb25nIGFyZyB0eXBlCQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAA2JpbgUAAAABYgkABEwAAAACCQEAAAALQmluYXJ5RW50cnkAAAACAgAAAARib29sBQAAAAVieXRlVgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAEaW50MQUAAAABYQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAEaW50MgUAAAAEaW50VgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAARzdHIxBQAAAAFkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABHN0cjIFAAAABHN0clYJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAICAAAABWJvb2wxBQAAAAFjCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAAVib29sMgUAAAAFYm9vbFYFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGaGqCnQ==", "height": 2075137, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(a) | |
7 | + | func call (b,c,d,e,f) = { | |
8 | + | let g = { | |
9 | + | let h = f[0] | |
10 | + | if ($isInstanceOf(h, "Int")) | |
11 | + | then { | |
12 | + | let i = h | |
13 | + | i | |
14 | + | } | |
15 | + | else throw("wrong arg type") | |
16 | + | } | |
17 | + | let j = { | |
18 | + | let h = f[1] | |
19 | + | if ($isInstanceOf(h, "ByteVector")) | |
20 | + | then { | |
21 | + | let i = h | |
22 | + | i | |
23 | + | } | |
24 | + | else throw("wrong arg type") | |
25 | + | } | |
26 | + | let k = { | |
27 | + | let h = f[2] | |
28 | + | if ($isInstanceOf(h, "Boolean")) | |
29 | + | then { | |
30 | + | let i = h | |
31 | + | i | |
32 | + | } | |
33 | + | else throw("wrong arg type") | |
34 | + | } | |
35 | + | let l = { | |
36 | + | let h = f[3] | |
37 | + | if ($isInstanceOf(h, "String")) | |
38 | + | then { | |
39 | + | let i = h | |
40 | + | i | |
41 | + | } | |
42 | + | else throw("wrong arg type") | |
43 | + | } | |
44 | + | [BinaryEntry("bin", c), BinaryEntry("bool", j), IntegerEntry("int1", b), IntegerEntry("int2", g), StringEntry("str1", e), StringEntry("str2", l), BooleanEntry("bool1", d), BooleanEntry("bool2", k)] | |
45 | + | } | |
46 | + | ||
47 | + | ||
48 | + | @Verifier(m) | |
49 | + | func n () = true | |
50 | + |
github/deemru/w8io/169f3d6 28.15 ms ◑