From the perspective of a dApp developer, the Ethereum blockchain works in a strange way. A typical function will take a number of inputs, perform some task, then return some value that signals success, failure, or otherwise provides some information to the programmer.
Ethereum does not return a value on a state-changing transaction, it only returns the …