Washington State has a code on the books that states:
"(2) Electrical equipment and wiring that has been submerged or exposed to water must comply with the following:
(a) All breakers, fuses, controllers, receptacles, lighting switches/dimmers, electric heaters, and any sealed device/equipment (e.g., relays, contactors, etc.) must be replaced.
(b) All other electrical equipment (e.g., wiring, breaker panelboards, disconnect switches, switchgear, motor control centers, boiler controls, HVAC/R equipment, electric motors, transformers, appliances, water heaters, and similar appliances) must be replaced or reconditioned by the original manufacturer or by its approved representative.
I suspect other states have similar rules
Rob G - Seattle