I didn't find a way to have optional arguments in the solidity docs so i'm wondering if anyone has found a working around to this ?
All i can think of are internal functions with " empty " params but that's going to be ugly very fast.
As anyone found a working around to this ?
Best Answer
Unfortunately solidity does not have the ability to add variable/ optional params. Strange enough there is away to add anonymous params, i.e. with no name.