Skip to main content
Version: 1.16.0

Function: readTokenPoolLockboxConfigs()

readTokenPoolLockboxConfigs(chain: EVMChain, poolAddress: string): Promise<LockboxConfig[]>

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

Reads a v2.0.0 siloed pool's getAllLockBoxConfigs() in one eth_call.

Parameters​

ParameterTypeDescription
chainEVMChainChain to read from.
poolAddressstringv2.0.0 SiloedLockReleaseTokenPool to read.

Returns​

Promise<LockboxConfig[]>

Every bound lane in the contract's enumeration order, lockboxes checksummed; [] when none is bound.

Remarks​

Callers must resolve the pool first (assertSiloedLockReleasePool, plus a v2.0.0 check): the getter exists only there.