Coexistence of two order parameters and a pseudogap in the iron-based superconductors