SoK: Security and Privacy of Blockchain Interoperability [Extended Version]