Can you pass a function as a parameter in Solidity?
My guess: There is the concept of address
in Solidity, but they represent contract
s. Contracts can have fallback functions, but I don't think you can give them parameters. Thinking about passing the function as a parameter by address like you would do in C.
Is there a legit way to pass functions as parameters, or if not, is there a hacky way?
If there is, how? And if there isn't, why not?