Treaty banning nuclear weapons adopted at UN