How to import two templates with the same module name and the same templateId but belonging to different dar files

I now have two dars, 1.0.dar and 1.2.dar. They have different pkids. I want to convert one of the contracts generated by 1.0.dar into a contract of 1.2.dar. I hope to write a template that dependences both 1.0.dar and 1.2.dar to do upgrade, but their module name and templateId are the same, I should distinguish when quoting,how can I do?

Does the documentation on name collisions help?

very useful thank you

1 Like