```\nrequire(\n    IERC20(vaultInfo.vaultAddress).totalSupply() +\n        pendingDeposit -\n        pendingWithdrawal +\n        amountIn <=\n        vaultInfo.maxAmount,\n    "MAX\_LIMIT\_EXCEEDED"\n);\n```\n