Hey,
It seems like in the function getResultOffset you are getting the result from the a contract call, but how would it work if the function that is call on the contract does not return the value? It might be a silly question if 80% of interaction function returns the value but I don't know the stat yet!