tx · 4NFYTE7yxcTmzjb9CvK9DHVWUUYNXSkJqK3dT8Ta3Eqa
3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F: -0.01000000 Waves
2021.11.29 14:02 [1812258] smart account 3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F > SELF 0.00000000 Waves
{
"type": 13,
"id": "4NFYTE7yxcTmzjb9CvK9DHVWUUYNXSkJqK3dT8Ta3Eqa",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638183778723,
"version": 2,
"chainId": 84,
"sender": "3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F",
"senderPublicKey": "2Sk1FmTnvi9RcWLLofx3ihkjqgRdF4D2Md46VxDMTGSR",
"proofs": [
"2rGkdrrfBntjLGgAE34AHe5rz3DqQ6nGnbQjLZmxshrLswgn9oxi6ZpQhK2RZvq9pEqrjfraKNoAKLwdpQztmBta"
],
"script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAAR0ZXN0AAAAAAkABE0AAAACBQAAAANuaWwJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABHRlc3QJAAJYAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAAAAAFpAQAAAARjYWxsAAAAAAQAAAABYQoAAAAAAUAJAAP8AAAABAUAAAAEdGhpcwIAAAAEdGVzdAUAAAADbmlsBQAAAANuaWwDCQAAAQAAAAIFAAAAAUACAAAAA0ludAUAAAABQAkAAAIAAAABAgAAABhDb3VsZG4ndCBjYXN0IEFueSB0byBJbnQJAAUUAAAAAgUAAAADbmlsBQAAAAR1bml0AAAAABtOZRc=",
"height": 1812258,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: F5duTanf2hK18DWaTHdkJDTebDLUNgfGMoih2HqTuthC
Next: DoZypadEeuidZywk9KwSJNK8UeDLX1GxesAjkDszLxor
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func test () = $Tuple3(1, 2, 3) |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func test () = (nil :+ StringEntry("test", toBase58String(i.transactionId))) |
---|
| 8 | + | |
---|
5 | 9 | | |
---|
6 | 10 | | |
---|
7 | 11 | | @Callable(i) |
---|
8 | 12 | | func call () = { |
---|
9 | | - | let $t0142234 = match test() { |
---|
10 | | - | case _ => |
---|
11 | | - | if (if ($isInstanceOf($match0._1, "Int")) |
---|
12 | | - | then $isInstanceOf($match0._3, "Int") |
---|
13 | | - | else false) |
---|
14 | | - | then { |
---|
15 | | - | let a = $match0._1 |
---|
16 | | - | let c = $match0._3 |
---|
17 | | - | $Tuple2(a, c) |
---|
18 | | - | } |
---|
19 | | - | else throw() |
---|
20 | | - | } |
---|
21 | | - | let a = $t0142234._1 |
---|
22 | | - | let c = $t0142234._2 |
---|
23 | | - | $Tuple2(nil, $Tuple2(a, c)) |
---|
| 13 | + | let a = { |
---|
| 14 | + | let @ = invoke(this, "test", nil, nil) |
---|
| 15 | + | if ($isInstanceOf(@, "Int")) |
---|
| 16 | + | then @ |
---|
| 17 | + | else throw("Couldn't cast Any to Int") |
---|
| 18 | + | } |
---|
| 19 | + | $Tuple2(nil, unit) |
---|
24 | 20 | | } |
---|
25 | 21 | | |
---|
26 | 22 | | |
---|