Conversion of variables and functions 0.10 -> 0.12

Thanks! Now it’s starting to make sense.

Another question: Is there a way one can distinguish between remote and local steps coming in in the dispatchTransaction method?