add Param Bool
Add a bool type parameter
Return
the index of the parameter (0-based).
Parameters
fn
A Non-null eth abi function
val
for output parameters, value has to be specified
is Output
determines if the parameter is an input or output