tx · G4VTTyq32NtRieETR8pXPJkJ3Uz5vB6yF9rqyrMNBCA3 3My8vakBzFxjGt2E5eswTdXmj2hxFWZNyd1: -0.01400000 Waves 2020.12.01 17:52 [1289745] smart account 3My8vakBzFxjGt2E5eswTdXmj2hxFWZNyd1 > SELF 0.00000000 Waves
{ "type": 13, "id": "G4VTTyq32NtRieETR8pXPJkJ3Uz5vB6yF9rqyrMNBCA3", "fee": 1400000, "feeAssetId": null, "timestamp": 1606834344021, "version": 2, "chainId": 84, "sender": "3My8vakBzFxjGt2E5eswTdXmj2hxFWZNyd1", "senderPublicKey": "6wWhfrsV3oaJXajgLddi8ZA3gTyxb1yjaUfqwLfrXKMc", "proofs": [ "c4zdYKPF36KxVPoZhb8WWNtXtW2PnKSTntsdjqhpjoxayE9ntYXRWLqxcjDz7XAbamWBE3DBmm35MihuVU9PiBj" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgERAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAEAAAAHaW50TGlzdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAADaW50CQABkQAAAAIFAAAAB2ludExpc3QAAAAAAAAAAAAFAAAAA25pbAAAAABy6NJY", "height": 1289745, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Dan5J6G3hEqV8EjEo45qVhcBxV91p3zzWF8VHCBpVoT4 Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func a (b) = { | |
5 | - | let c = b | |
6 | - | if ($isInstanceOf(c, "Int")) | |
7 | - | then { | |
8 | - | let d = c | |
9 | - | IntegerEntry("intEl", d) | |
10 | - | } | |
11 | - | else if ($isInstanceOf(c, "Boolean")) | |
12 | - | then { | |
13 | - | let e = c | |
14 | - | BooleanEntry("boolEl", e) | |
15 | - | } | |
16 | - | else if ($isInstanceOf(c, "String")) | |
17 | - | then { | |
18 | - | let f = c | |
19 | - | StringEntry("strEl", f) | |
20 | - | } | |
21 | - | else if ($isInstanceOf(c, "ByteVector")) | |
22 | - | then { | |
23 | - | let g = c | |
24 | - | BinaryEntry("binEl", g) | |
25 | - | } | |
26 | - | else throw("Error: unknown type") | |
27 | - | } | |
28 | 4 | ||
29 | 5 | ||
30 | - | @Callable( | |
31 | - | func call ( | |
6 | + | @Callable(a) | |
7 | + | func call (b) = [IntegerEntry("int", b[0])] | |
32 | 8 | ||
33 | 9 |
github/deemru/w8io/169f3d6 26.08 ms ◑