Create a new GenericModule instance for interacting with a smart contract module on chain.
This function ensures the module is already deployed on chain otherwise produces an error.
Throws
If failing to communicate with the concordium node or module reference does not correspond to a module on chain.
Create a new
GenericModuleinstance for interacting with a smart contract module on chain. This function ensures the module is already deployed on chain otherwise produces an error.Throws
If failing to communicate with the concordium node or module reference does not correspond to a module on chain.
Returns