```\nfunction convertToPeUSD(address user, uint256 eusdAmount) public {\n require(\_msgSender() == user || \_msgSender() == address(this), "MDM");\n require(eusdAmount != 0, "ZA");\n require(EUSD.balanceOf(address(this)) + eusdAmount <= configurator.getEUSDMaxLocked(),"ESL");\n```\n