pub fn v_to_num(v: bool) -> Uint256
utility fucntion for converting the boolean representation of v into the two allowed values