Hi,
I think that code snippets are missing in this article Roles in Daml - Introducing Multi-party submissions - Daml
I’m almost sure that I was reading this article earlier and code snippets where available.
Maybe this is not the best place for question like this, but I could not find any better.