```\nfunction createBid(\n  uint256 parentId,\n  uint256 bidAmount,\n  string memory bidIPFSHash,\n  string memory name\n) public pure returns(bytes32) {\n  return keccak256(abi.encode(parentId, bidAmount, bidIPFSHash, name));\n}\n```\n