I don't think we were destroying their material and I think they still had centrifuges, but I can't say I know all of the details of the specific deal we had with them before this all started.
If you go back to when had prior deal I think uranium moved out of country to Russia I believe. IAEA had inspections and stuff and it was only lowly enriched that was allowed. Now it wasn't perfect. Iran had proxy groups, terror and missiles. They have some of that now. Been degraded some for now, less missiles etc. but still have lot. They claimed all their nuclear destroyed a year ago when bombed them.