tx · 583SPnWEXAKf7kHHF27NsE3pD47UkqnW6P6c3pjx4UYK 3N5PTbhmS4mMVzAVRzArCU9UPiQhWHVtW84: -0.00100000 Waves 2022.05.30 19:11 [2074609] smart account 3N5PTbhmS4mMVzAVRzArCU9UPiQhWHVtW84 > SELF 0.00000000 Waves
{ "type": 13, "id": "583SPnWEXAKf7kHHF27NsE3pD47UkqnW6P6c3pjx4UYK", "fee": 100000, "feeAssetId": null, "timestamp": 1653927073559, "version": 2, "chainId": 84, "sender": "3N5PTbhmS4mMVzAVRzArCU9UPiQhWHVtW84", "senderPublicKey": "BJgqFHaoMq7x3hXTNdTBXBQGJsRU1gZKcRM5TJtQJLUx", "proofs": [ "54j77ovCLwj7ZYd1Wo6QXm7Zz2yZUnRbVBm8pV6F2e9jGQ43rq6nmh7xZpwuja1qAbsAaBJAp773n3XzBaXUa2Ga" ], "script": "base64:AAIFAAAAAAAAAAsIAhIHCgUBAgQIHwAAAAAAAAABAAAAAWkBAAAABGNhbGwAAAAFAAAAAWEAAAABYgAAAAFjAAAAAWQAAAABZgQAAAAEaW50VgQAAAAHJG1hdGNoMAkAAZEAAAACBQAAAAFmAAAAAAAAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAXQFAAAAByRtYXRjaDAFAAAAAXQJAAACAAAAAQIAAAAOd3JvbmcgYXJnIHR5cGUEAAAABWJ5dGVWBAAAAAckbWF0Y2gwCQABkQAAAAIFAAAAAWYAAAAAAAAAAAEDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAXQFAAAAByRtYXRjaDAFAAAAAXQJAAACAAAAAQIAAAAOd3JvbmcgYXJnIHR5cGUEAAAABWJvb2xWBAAAAAckbWF0Y2gwCQABkQAAAAIFAAAAAWYAAAAAAAAAAAIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAXQFAAAAByRtYXRjaDAFAAAAAXQJAAACAAAAAQIAAAAOd3JvbmcgYXJnIHR5cGUEAAAABHN0clYEAAAAByRtYXRjaDAJAAGRAAAAAgUAAAABZgAAAAAAAAAAAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAF0BQAAAAckbWF0Y2gwBQAAAAF0CQAAAgAAAAECAAAADndyb25nIGFyZyB0eXBlCQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAA2JpbgUAAAABYgkABEwAAAACCQEAAAALQmluYXJ5RW50cnkAAAACAgAAAARib29sBQAAAAVieXRlVgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAEaW50MQUAAAABYQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAEaW50MgUAAAAEaW50VgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAARzdHIxBQAAAAFkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABHN0cjIFAAAABHN0clYJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAICAAAABWJvb2wxBQAAAAFjCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAAVib29sMgUAAAAFYm9vbFYFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGaGqCnQ==", "height": 2074609, "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(i) | |
7 | + | func call (a,b,c,d,f) = { | |
8 | + | let intV = match f[0] { | |
9 | + | case t: Int => | |
10 | + | t | |
11 | + | case _ => | |
12 | + | throw("wrong arg type") | |
13 | + | } | |
14 | + | let byteV = match f[1] { | |
15 | + | case t: ByteVector => | |
16 | + | t | |
17 | + | case _ => | |
18 | + | throw("wrong arg type") | |
19 | + | } | |
20 | + | let boolV = match f[2] { | |
21 | + | case t: Boolean => | |
22 | + | t | |
23 | + | case _ => | |
24 | + | throw("wrong arg type") | |
25 | + | } | |
26 | + | let strV = match f[3] { | |
27 | + | case t: String => | |
28 | + | t | |
29 | + | case _ => | |
30 | + | throw("wrong arg type") | |
31 | + | } | |
32 | + | [BinaryEntry("bin", b), BinaryEntry("bool", byteV), IntegerEntry("int1", a), IntegerEntry("int2", intV), StringEntry("str1", d), StringEntry("str2", strV), BooleanEntry("bool1", c), BooleanEntry("bool2", boolV)] | |
33 | + | } | |
34 | + | ||
35 | + | ||
36 | + | @Verifier(tx) | |
37 | + | func verify () = true | |
38 | + |
github/deemru/w8io/026f985 16.60 ms ◑