Function: resolveRegistryModuleOwnerCustom()
resolveRegistryModuleOwnerCustom(
chain:EVMChain,address:string):Promise<RegistryModuleOwnerCustomVersion>
Defined in: cct/evm/token-admin-registry/contracts.ts:99
Resolves a deployed module's version from its typeAndVersion, narrowed to a known
RegistryModuleOwnerCustomVersion. Mirrors resolveTokenPool in
token-pool/contracts.ts.
Parameters
| Parameter | Type |
|---|---|
chain | EVMChain |
address | string |
Returns
Promise<RegistryModuleOwnerCustomVersion>
Throws
CCTContractTypeInvalidError if address is not a RegistryModuleOwnerCustom
Throws
CCTContractVersionUnsupportedError if it reports an unknown version