```\nfunction getERC20Balance(address account, ERC20 token)\n  external\n  view\n  returns (uint256)\n{\n  return\n    erc20Balances[token][account] +\n    (splits[account].hash != 0 ? token.balanceOf(account) : 0);\n}\n```\n