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