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(i)
88 func func_1 () = {
99 let result = some_func()
10- let a = result._1
11- let b = result._2
12- let c = result._3
13- throw(((((toString(a) + " ") + toString(b)) + " ") + toString(c)))
10+ let $t0315337 = result
11+ let a = $t0315337._1
12+ let b = $t0315337._2
13+ let c = $t0315337._3
14+ $Tuple2(nil, "Return value")
1415 }
1516
1617
1819 @Callable(i)
1920 func func_2 () = {
2021 let addr = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat"
21- let invoke_result = invoke(this, "func_1", nil, nil)
22+ let invoke_result = {
23+ let @ = invoke(this, "func_1", nil, nil)
24+ if ($isInstanceOf(@, "String"))
25+ then @
26+ else throw(($getType(@) + " 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 some_func () = $Tuple3(40, 50, 60)
55
66
77 @Callable(i)
88 func func_1 () = {
99 let result = some_func()
10- let a = result._1
11- let b = result._2
12- let c = result._3
13- throw(((((toString(a) + " ") + toString(b)) + " ") + toString(c)))
10+ let $t0315337 = result
11+ let a = $t0315337._1
12+ let b = $t0315337._2
13+ let c = $t0315337._3
14+ $Tuple2(nil, "Return value")
1415 }
1516
1617
1718
1819 @Callable(i)
1920 func func_2 () = {
2021 let addr = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat"
21- let invoke_result = invoke(this, "func_1", nil, nil)
22+ let invoke_result = {
23+ let @ = invoke(this, "func_1", nil, nil)
24+ if ($isInstanceOf(@, "String"))
25+ then @
26+ else throw(($getType(@) + " couldn't be cast to String"))
27+ }
2228 nil
2329 }
2430
2531

github/deemru/w8io/026f985 
26.27 ms