```\nfunction deposit(\n  GMXTypes.Store storage self,\n  GMXTypes.DepositParams memory dp,\n  bool isNative\n) external {\n // rest of code\n GMXChecks.beforeDepositChecks(self, _dc.depositValue);\n\n  self.status = GMXTypes.Status.Deposit;\n // rest of code\n}\n```\n