the supplementary material for experimental methods, optimized molecular structure of CMCCNa, nuclear magnetic hydrogen spectrum, water contact angle test results, magnified image of the region in the XRD pattern, full XPS spectra, steady-state PL spectra, UV-Vis absorption spectroscopy, PCE distribution, and EQE spectra of different perovskite films.