```\nFile: AccountFacetImpl.sol\n    function depositForPartyB(uint256 amount) internal {\n        IERC20(GlobalAppStorage.layout().collateral).safeTransferFrom(\n            msg.sender,\n            address(this),\n            amount\n        );\n        uint256 amountWith18Decimals = (amount * 1e18) /\n        (10 ** IERC20Metadata(GlobalAppStorage.layout().collateral).decimals());\n        AccountStorage.layout().balances[msg.sender] += amountWith18Decimals;\n    }\n```\n