Skip to main content
Version: 1.15.0

Function: readTokenPoolIsSupportedChain()

readTokenPoolIsSupportedChain(chain: EVMChain, poolAddress: string, remoteChainSelector: bigint): Promise<boolean>

Defined in: cct/evm/token-pool/contracts.ts:945

Reads a pool's isSupportedChain(remoteChainSelector) in one eth_call.

Parameters​

ParameterTypeDescription
chainEVMChainChain to read from.
poolAddressstringToken pool to read.
remoteChainSelectorbigintLane to ask about.

Returns​

Promise<boolean>

Whether the lane is in the pool's supported-chain set (added by applyChainUpdates).

Remarks​

Declared on the TokenPool base, so any family has it; typed here through the v1.6.0 siloed ABI because its one caller, updateSiloDesignations, needs it there.