A function that will read a contract's component interface using getComponentInterface and return the correct instantiated instance.
getComponentInterface
InvalidComponentInterfaceError
A function that will read a contract's component interface using
getComponentInterface
and return the correct instantiated instance.