Each applicant for a permit to construct or improve any pavement on any public street, sidewalk, curb, alley, or other public way shall be required to file a bond in an amount set by contract with surety to be approved by the city council, conditioned to indemnify the city for any loss or damage caused by, or resulting from, the work undertaken.