Skip to main content
Version: 1.15.0

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​

ParameterType
chainEVMChain
addressstring

Returns​

Promise<RegistryModuleOwnerCustomVersion>

Throws​

CCTContractTypeInvalidError if address is not a RegistryModuleOwnerCustom

Throws​

CCTContractVersionUnsupportedError if it reports an unknown version