Function: getContractVersion()
getContractVersion(
address,signerOrProvider):Promise\<ContractVersion>
Get the deployed contract's version
Only works with compatible contracts, i.e. Colony contracts or their extensions.
Parameters
address
string
Address of the deployed contract
signerOrProvider
ethers compatible Signer or Provider
Returns
Promise\<ContractVersion>
The version number of the contract