develop
} else if typ.T == abi.BoolTy { val, err = toBool(f, data[f.Name]) } else { err = fmt.Errorf("type %s is not supported", f.Type) }