Skip to main content
Version: 1.15.0

Function: readTokenPoolIsSiloed()

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

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

Reads a v1.6.x siloed pool's isSiloed(remoteChainSelector) in one eth_call.

Parameters​

ParameterTypeDescription
chainEVMChainChain to read from.
poolAddressstringv1.6.x SiloedLockReleaseTokenPool to read.
remoteChainSelectorbigintLane to ask about.

Returns​

Promise<boolean>

Whether the lane has its own silo; false for selector 0 and for unknown lanes.

Remarks​

Callers must resolve the pool first (assertSiloedLockReleasePool, plus a v1.6.x check): the getter is absent from every other family and from v2.0.0. Read against the v1.6.0 siloed ABI at v1.6.1 too, as readTokenPoolLiquidity does: the function is identical there.