```\n    AccountFacetImpl.deposit(msg.sender, amount);\n    uint256 amountWith18Decimals = (amount * 1e18) /\n        (10 ** IERC20Metadata(GlobalAppStorage.layout().collateral).decimals());\n    AccountFacetImpl.allocate(amountWith18Decimals);\n```\n