In exchange , North Korea would be required to end its nuclear weapons program .