Skip to main content
Version: 1.15.0

Function: readTokenAdminRegistryConfig()

readTokenAdminRegistryConfig(chain: EVMChain, registry: string, token: string): Promise<TokenAdminRegistryConfig>

Defined in: cct/evm/token-admin-registry/contracts.ts:162

Reads a token's TAR entry through the vendored ABI.

Parameters​

ParameterType
chainEVMChain
registrystring
tokenstring

Returns​

Promise<TokenAdminRegistryConfig>

Remarks​

Deliberately not EVMChain.getRegistryTokenConfig: that helper throws CCIPTokenNotConfiguredError whenever administrator is the zero address, which is precisely the registered-but-not-yet-accepted state these ops must be able to observe and report. Reading getTokenConfig directly keeps every row of the table above reachable.