means an agreement between the developer and the city guaranteeing the affordability of rental or ownership units to extremely low, very low, or lower income households, senior citizens, transitional foster youth, disabled veterans, or homeless persons, or for providing childcare facilities in accordance with the provisions of this chapter and state density bonus law (Government Code Section
65915 et seq.).