The above Guardian article covers a lot of that, interestingly England would have to acquire it’s own parliament as stated here:
"The harder transitional questions fall in UK constitutional law. The Westminster parliament would have to give the four nations the power to make international agreements in their own name so that each could remain a member of the EU (or not) separately. All subject areas covered by EU law would have to be devolved from Westminster to the four nations so that they could ensure harmonisation of their laws with EU law (or not).
In the current UK constitution, however, the four nations are not equal: England would have to acquire its own parliament to receive the devolution. This idea has been well mooted already so plans are already available. In fact, the creation of an English parliament would bring self-government home even more dramatically than Brexiteers promised."
I’m 100% sure UK citizens had no clue how difficult it would be become and what the implications of their vote was to be. Utter madness over there. If I was English (cough cough) no way would have I voted to “leave”.