tx · 4ZUTbhhX9W5kJ4SYUQNUAmX3Aan5fcdQPy2KA9Fciz3h

3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37:  -0.00500000 Waves

2022.07.01 22:50 [2121028] smart account 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37 > SELF 0.00000000 Waves

{ "type": 13, "id": "4ZUTbhhX9W5kJ4SYUQNUAmX3Aan5fcdQPy2KA9Fciz3h", "fee": 500000, "feeAssetId": null, "timestamp": 1656705033769, "version": 2, "chainId": 84, "sender": "3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37", "senderPublicKey": "J6bcbr8r9usSLYw72NzzrKVCvKDDLe1uDx8bnWp3uFAV", "proofs": [ "5D7ePpNCSnEiJks1fjdS8K2Q2nHkWsVefUg2M14rmSdULeWHJyXGeDGfdNT1c8rQhEwBpboyLPxL2tJMjXTyWE55" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAMBAAAACGFzU3RyaW5nAAAAAQAAAAN2YWwEAAAAByRtYXRjaDAFAAAAA3ZhbAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAZ2YWxTdHIFAAAAByRtYXRjaDAFAAAABnZhbFN0cgkAAAIAAAABAgAAABhmYWlsIHRvIGNhc3QgaW50byBTdHJpbmcBAAAAC25lc3RlZENhbGxzAAAAAQAAAAF4CgEAAAAEY2FsbAAAAAIAAAABYQAAAAFlCQABLAAAAAIJAAEsAAAAAgUAAAABYQIAAAABCgkBAAAACGFzU3RyaW5nAAAAAQkAA/wAAAAECQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQgFAAAAAWUAAAACXzEIBQAAAAFlAAAAAl8yCAUAAAABZQAAAAJfMwUAAAADbmlsCgAAAAACJGwFAAAAAXgKAAAAAAIkcwkAAZAAAAABBQAAAAIkbAoAAAAABSRhY2MwAgAAAAAKAQAAAAUkZjBfMQAAAAIAAAACJGEAAAACJGkDCQAAZwAAAAIFAAAAAiRpBQAAAAIkcwUAAAACJGEJAQAAAARjYWxsAAAAAgUAAAACJGEJAAGRAAAAAgUAAAACJGwFAAAAAiRpCgEAAAAFJGYwXzIAAAACAAAAAiRhAAAAAiRpAwkAAGcAAAACBQAAAAIkaQUAAAACJHMFAAAAAiRhCQAAAgAAAAECAAAAFExpc3Qgc2l6ZSBleGNlZWRzIDEwCQEAAAAFJGYwXzIAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACBQAAAAUkYWNjMAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAgAAAAAAAAAAAwAAAAAAAAAABAAAAAAAAAAABQAAAAAAAAAABgAAAAAAAAAABwAAAAAAAAAACAAAAAAAAAAACQAAAAAAAAAACgEAAAADZm9vAAAAAQAAAARhcmdzBAAAAAF0CQAFFQAAAAMCAAAAIzNNeGQ1bzdQd0g3NlprTjh6RzR4d0RMdWJFbmJrYWloS3ppAgAAACZ1bnN0YWtlQ29taXNzaW9uQW1vdW50QnlIZWlnaHRSRUFET05MWQUAAAAEYXJncwkBAAAAC25lc3RlZENhbGxzAAAAAQkABEwAAAACBQAAAAF0BQAAAANuaWwAAAAAAAAAAJhvNrI=", "height": 2121028, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 99mEYjqncPmWsyopY5UuStUTUV8QbBAYsZNfLKqr8Y6N Next: DmUyRo7Bkf2CDcDAfCbyMjvfbbJ9Y7PuYMih7fHxcP2z Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func nestedCalls (x) = "hello"
4+func asString (val) = match val {
5+ case valStr: String =>
6+ valStr
7+ case _ =>
8+ throw("fail to cast into String")
9+}
10+
11+
12+func nestedCalls (x) = {
13+ func call (a,e) = ((a + "
14+") + asString(invoke(Address(fromBase58String(e._1)), e._2, e._3, nil)))
15+
16+ let $l = x
17+ let $s = size($l)
18+ let $acc0 = ""
19+ func $f0_1 ($a,$i) = if (($i >= $s))
20+ then $a
21+ else call($a, $l[$i])
22+
23+ func $f0_2 ($a,$i) = if (($i >= $s))
24+ then $a
25+ else throw("List size exceeds 10")
26+
27+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
28+ }
529
630
731 func foo (args) = {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func nestedCalls (x) = "hello"
4+func asString (val) = match val {
5+ case valStr: String =>
6+ valStr
7+ case _ =>
8+ throw("fail to cast into String")
9+}
10+
11+
12+func nestedCalls (x) = {
13+ func call (a,e) = ((a + "
14+") + asString(invoke(Address(fromBase58String(e._1)), e._2, e._3, nil)))
15+
16+ let $l = x
17+ let $s = size($l)
18+ let $acc0 = ""
19+ func $f0_1 ($a,$i) = if (($i >= $s))
20+ then $a
21+ else call($a, $l[$i])
22+
23+ func $f0_2 ($a,$i) = if (($i >= $s))
24+ then $a
25+ else throw("List size exceeds 10")
26+
27+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
28+ }
529
630
731 func foo (args) = {
832 let t = $Tuple3("3Mxd5o7PwH76ZkN8zG4xwDLubEnbkaihKzi", "unstakeComissionAmountByHeightREADONLY", args)
933 nestedCalls([t])
1034 }
1135
1236
1337

github/deemru/w8io/169f3d6 
24.78 ms