tx · 685DpbXXLtJ6V4VTpKBYdMJKKtojeRtFxqzcW2PrwZCu

3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat:  -0.00100000 Waves

2023.02.25 01:28 [2464357] smart account 3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat > SELF 0.00000000 Waves

{ "type": 13, "id": "685DpbXXLtJ6V4VTpKBYdMJKKtojeRtFxqzcW2PrwZCu", "fee": 100000, "feeAssetId": null, "timestamp": 1677277701176, "version": 2, "chainId": 84, "sender": "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat", "senderPublicKey": "AwWYbCDs6GDxAT6diG2mfEqD7tFz9JXu9k234FS135kR", "proofs": [ "5cfNXQsEXcyQ8AZgQprgJqCorXEzj6tTZj2vkxnKNaPJq24PPy5o2rL9LwJRkiqyn3v7ETRVqfnZeKFCbTsvvtsu" ], "script": "base64:BgIGCAISABIAAQEJc29tZV9mdW5jAAkAlQoDACgAMgA8AgFpAQZmdW5jXzEABAZyZXN1bHQJAQlzb21lX2Z1bmMABAkkdDAzMTUzMzcFBnJlc3VsdAQBYQgFCSR0MDMxNTMzNwJfMQQBYggFCSR0MDMxNTMzNwJfMgQBYwgFCSR0MDMxNTMzNwJfMwkAlAoCBQNuaWwCDFJldHVybiB2YWx1ZQFpAQZmdW5jXzIABARhZGRyAiMzTjVKdTY0dVRQdWFSNE00ZjlZQjVMUllSTkozODJNV3JhdAQNaW52b2tlX3Jlc3VsdAoAAUAJAPwHBAUEdGhpcwIGZnVuY18xBQNuaWwFA25pbAMJAAECBQFAAgZTdHJpbmcFAUAJAAIBCQCsAgIJAAMBBQFAAhsgY291bGRuJ3QgYmUgY2FzdCB0byBTdHJpbmcFA25pbAA1mDU9", "height": 2464357, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3aELsFYUoLishK8tVoY9GcFBTJLqbfoVMkDwMMvEGXef Next: 551RwxcD36Sdkz3qVQeaZ53ujkqSYRWUWK2dXCzwgza2 Diff:
OldNewDifferences
77 @Callable(b)
88 func func_1 () = {
99 let c = a()
10- let d = c._1
11- let e = c._2
12- let f = c._3
13- throw(((((toString(d) + " ") + toString(e)) + " ") + toString(f)))
10+ let d = c
11+ let e = d._1
12+ let f = d._2
13+ let g = d._3
14+ $Tuple2(nil, "Return value")
1415 }
1516
1617
1718
1819 @Callable(b)
1920 func func_2 () = {
20- let g = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat"
21- let h = invoke(this, "func_1", nil, nil)
21+ let h = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat"
22+ let i = {
23+ let j = invoke(this, "func_1", nil, nil)
24+ if ($isInstanceOf(j, "String"))
25+ then j
26+ else throw(($getType(j) + " couldn't be cast to String"))
27+ }
2228 nil
2329 }
2430
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a () = $Tuple3(40, 50, 60)
55
66
77 @Callable(b)
88 func func_1 () = {
99 let c = a()
10- let d = c._1
11- let e = c._2
12- let f = c._3
13- throw(((((toString(d) + " ") + toString(e)) + " ") + toString(f)))
10+ let d = c
11+ let e = d._1
12+ let f = d._2
13+ let g = d._3
14+ $Tuple2(nil, "Return value")
1415 }
1516
1617
1718
1819 @Callable(b)
1920 func func_2 () = {
20- let g = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat"
21- let h = invoke(this, "func_1", nil, nil)
21+ let h = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat"
22+ let i = {
23+ let j = invoke(this, "func_1", nil, nil)
24+ if ($isInstanceOf(j, "String"))
25+ then j
26+ else throw(($getType(j) + " couldn't be cast to String"))
27+ }
2228 nil
2329 }
2430
2531

github/deemru/w8io/026f985 
25.04 ms